Wed, 17 Jun 2015 14:21:20 +0530
8098847: obj."prop" and obj.'prop' should result in SyntaxError
Reviewed-by: hannesw, attila
1 test/script/error/JDK-8026039.js:30:9 "public" cannot be used as function name in strict mode
2 function public() {"use strict"}
3 ^
4 test/script/error/JDK-8026039.js:32:11 Expected ident but found public
5 function f(public) {"use strict"}
6 ^
7 test/script/error/JDK-8026039.js:33:0 Expected } but found eof
9 ^