nashorn/test/script/basic/JDK-8019508.js.EXPECTED
author sundar
Wed, 18 Sep 2013 13:06:17 +0530
changeset 20209 92c2787c959a
parent 18629 6b0b6aab4280
child 20929 f2bd18181940
permissions -rw-r--r--
8024972: for (LeftHandSideExpression in Expression) crashes the compiler Reviewed-by: lagergren, hannesw
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
18629
6b0b6aab4280 8019508: Comma handling in object literal parsing is wrong
sundar
parents:
diff changeset
     1
test/script/basic/JDK-8019508.js#33<eval>:1:2 Expected property id but found ,
6b0b6aab4280 8019508: Comma handling in object literal parsing is wrong
sundar
parents:
diff changeset
     2
({,})
6b0b6aab4280 8019508: Comma handling in object literal parsing is wrong
sundar
parents:
diff changeset
     3
  ^
6b0b6aab4280 8019508: Comma handling in object literal parsing is wrong
sundar
parents:
diff changeset
     4
test/script/basic/JDK-8019508.js#33<eval>:1:2 Expected property id but found ,
6b0b6aab4280 8019508: Comma handling in object literal parsing is wrong
sundar
parents:
diff changeset
     5
({, a:2 })
6b0b6aab4280 8019508: Comma handling in object literal parsing is wrong
sundar
parents:
diff changeset
     6
  ^
6b0b6aab4280 8019508: Comma handling in object literal parsing is wrong
sundar
parents:
diff changeset
     7
test/script/basic/JDK-8019508.js#33<eval>:1:6 Expected property id but found ,
6b0b6aab4280 8019508: Comma handling in object literal parsing is wrong
sundar
parents:
diff changeset
     8
({a:3,,})
6b0b6aab4280 8019508: Comma handling in object literal parsing is wrong
sundar
parents:
diff changeset
     9
      ^
6b0b6aab4280 8019508: Comma handling in object literal parsing is wrong
sundar
parents:
diff changeset
    10
test/script/basic/JDK-8019508.js#33<eval>:1:6 Expected comma but found ident
6b0b6aab4280 8019508: Comma handling in object literal parsing is wrong
sundar
parents:
diff changeset
    11
({a:3 b:2}
6b0b6aab4280 8019508: Comma handling in object literal parsing is wrong
sundar
parents:
diff changeset
    12
      ^