nashorn/test/script/basic/NASHORN-40.js.EXPECTED
author attila
Tue, 03 Jun 2014 12:05:42 +0200 (2014-06-03)
changeset 24775 a0ae9045563f
parent 20929 f2bd18181940
permissions -rw-r--r--
8044534: Constant folding for unary + should produce int for boolean literals Reviewed-by: lagergren, sundar
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 an operand but found .
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     2
print(.foo)
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:38:Expected an operand but found .
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     5
.bar = 3423;
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     6
^