nashorn/test/script/basic/es6/const-redeclare-extra.js.EXPECTED
author attila
Tue, 09 Sep 2014 15:33:58 +0200
changeset 26504 ed05e2f4c2db
parent 26502 71d3891037bb
child 27814 96427359f4fe
permissions -rw-r--r--
8057930: remove eval ID Reviewed-by: hannesw, sundar
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
26504
ed05e2f4c2db 8057930: remove eval ID
attila
parents: 26502
diff changeset
     1
SyntaxError: test/script/basic/es6/const-redeclare-extra.js#36:8<eval>:3:8 Variable "x" has already been declared
26502
71d3891037bb 8057678: Tests for let and const keywords in Nashorn
yan
parents:
diff changeset
     2
    var x = {};
71d3891037bb 8057678: Tests for let and const keywords in Nashorn
yan
parents:
diff changeset
     3
        ^
26504
ed05e2f4c2db 8057930: remove eval ID
attila
parents: 26502
diff changeset
     4
SyntaxError: test/script/basic/es6/const-redeclare-extra.js#36:8<eval>:2:8 Variable "x" has already been declared
26502
71d3891037bb 8057678: Tests for let and const keywords in Nashorn
yan
parents:
diff changeset
     5
    var x = 2;
71d3891037bb 8057678: Tests for let and const keywords in Nashorn
yan
parents:
diff changeset
     6
        ^
26504
ed05e2f4c2db 8057930: remove eval ID
attila
parents: 26502
diff changeset
     7
SyntaxError: test/script/basic/es6/const-redeclare-extra.js#36:8<eval>:2:13 Variable "x" has already been declared
26502
71d3891037bb 8057678: Tests for let and const keywords in Nashorn
yan
parents:
diff changeset
     8
    function x () {}
71d3891037bb 8057678: Tests for let and const keywords in Nashorn
yan
parents:
diff changeset
     9
             ^