nashorn/test/script/basic/NASHORN-575.js.EXPECTED
author attila
Mon, 25 Aug 2014 22:36:05 +0200
changeset 26241 fb1db04b455f
parent 16147 e63b63819133
permissions -rw-r--r--
8055870: iteration fails if index var is not used Reviewed-by: hannesw, lagergren

SyntaxError: Invalid JSON: <json>:1:0 Expected json literal but found /
// foo
^
SyntaxError: Invalid JSON: <json>:1:0 Expected json literal but found /
/* foo */
^
SyntaxError: Invalid JSON: <json>:1:0 Expected json literal but found /
/foo/
^
SyntaxError: Invalid JSON: <json>:1:15 Expected , or } but found /
{"foo" : "bar" // foo }
               ^
SyntaxError: Invalid JSON: <json>:1:15 Expected , or } but found /
{"foo" : "bar" /* foo */ }
               ^
SyntaxError: Invalid JSON: <json>:1:9 Expected json literal but found /
{"foo" : /foo/}
         ^