test/script/basic/JDK-8019508.js.EXPECTED

Mon, 01 Jul 2013 23:36:40 +0530

author
sundar
date
Mon, 01 Jul 2013 23:36:40 +0530
changeset 391
9165138b427c
child 606
7cc5ff16380f
permissions
-rw-r--r--

8019508: Comma handling in object literal parsing is wrong
Reviewed-by: hannesw

     1 test/script/basic/JDK-8019508.js#33<eval>:1:2 Expected property id but found ,
     2 ({,})
     3   ^
     4 test/script/basic/JDK-8019508.js#33<eval>:1:2 Expected property id but found ,
     5 ({, a:2 })
     6   ^
     7 test/script/basic/JDK-8019508.js#33<eval>:1:6 Expected property id but found ,
     8 ({a:3,,})
     9       ^
    10 test/script/basic/JDK-8019508.js#33<eval>:1:6 Expected comma but found ident
    11 ({a:3 b:2}
    12       ^

mercurial