Mon, 01 Jul 2013 23:36:40 +0530
8019508: Comma handling in object literal parsing is wrong
Reviewed-by: hannesw
sundar@391 | 1 | test/script/basic/JDK-8019508.js#33<eval>:1:2 Expected property id but found , |
sundar@391 | 2 | ({,}) |
sundar@391 | 3 | ^ |
sundar@391 | 4 | test/script/basic/JDK-8019508.js#33<eval>:1:2 Expected property id but found , |
sundar@391 | 5 | ({, a:2 }) |
sundar@391 | 6 | ^ |
sundar@391 | 7 | test/script/basic/JDK-8019508.js#33<eval>:1:6 Expected property id but found , |
sundar@391 | 8 | ({a:3,,}) |
sundar@391 | 9 | ^ |
sundar@391 | 10 | test/script/basic/JDK-8019508.js#33<eval>:1:6 Expected comma but found ident |
sundar@391 | 11 | ({a:3 b:2} |
sundar@391 | 12 | ^ |