nashorn/test/script/basic/NASHORN-98.js.EXPECTED
author sundar
Thu, 10 Oct 2013 11:48:56 +0200
changeset 20929 f2bd18181940
parent 16147 e63b63819133
permissions -rw-r--r--
8026167: Class cache/reuse of 'eval' scripts results in ClassCastException in some cases. Reviewed-by: lagergren, jlaskey
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
20929
f2bd18181940 8026167: Class cache/reuse of 'eval' scripts results in ClassCastException in some cases.
sundar
parents: 16147
diff changeset
     1
SyntaxError:32:Expected comma but found decimal
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     2
var x = [ 23 34 ]
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     3
             ^
20929
f2bd18181940 8026167: Class cache/reuse of 'eval' scripts results in ClassCastException in some cases.
sundar
parents: 16147
diff changeset
     4
SyntaxError:41:Expected comma but found ident
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     5
var x = { foo: 33 bar: 'hello' }
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     6
                  ^