nashorn/test/script/basic/es6/const-redeclare-extra.js.EXPECTED
changeset 26504 ed05e2f4c2db
parent 26502 71d3891037bb
child 27814 96427359f4fe
equal deleted inserted replaced
26503:3ed48a01100c 26504:ed05e2f4c2db
     1 SyntaxError: test/script/basic/es6/const-redeclare-extra.js#36:8<eval>@2:3:8 Variable "x" has already been declared
     1 SyntaxError: test/script/basic/es6/const-redeclare-extra.js#36:8<eval>:3:8 Variable "x" has already been declared
     2     var x = {};
     2     var x = {};
     3         ^
     3         ^
     4 SyntaxError: test/script/basic/es6/const-redeclare-extra.js#36:8<eval>@4:2:8 Variable "x" has already been declared
     4 SyntaxError: test/script/basic/es6/const-redeclare-extra.js#36:8<eval>:2:8 Variable "x" has already been declared
     5     var x = 2;
     5     var x = 2;
     6         ^
     6         ^
     7 SyntaxError: test/script/basic/es6/const-redeclare-extra.js#36:8<eval>@4:2:13 Variable "x" has already been declared
     7 SyntaxError: test/script/basic/es6/const-redeclare-extra.js#36:8<eval>:2:13 Variable "x" has already been declared
     8     function x () {}
     8     function x () {}
     9              ^
     9              ^