nashorn/test/script/basic/es6/const-redeclare.js.EXPECTED
author hannesw
Thu, 04 Sep 2014 15:37:14 +0200
changeset 26377 028dad61662f
child 26504 ed05e2f4c2db
permissions -rw-r--r--
8051889: Implement block scoping in symbol assignment and scope computation Reviewed-by: attila, lagergren
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
26377
028dad61662f 8051889: Implement block scoping in symbol assignment and scope computation
hannesw
parents:
diff changeset
     1
SyntaxError: test/script/basic/es6/const-redeclare.js#33:4<eval>@1:2:6 Variable "x" has already been declared
028dad61662f 8051889: Implement block scoping in symbol assignment and scope computation
hannesw
parents:
diff changeset
     2
const x = 2;
028dad61662f 8051889: Implement block scoping in symbol assignment and scope computation
hannesw
parents:
diff changeset
     3
      ^