Mon, 01 Jul 2013 23:36:40 +0530
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 ^