nashorn/test/script/basic/es6/let-load.js.EXPECTED
author hannesw
Fri, 21 Nov 2014 17:44:57 +0100
changeset 27814 96427359f4fe
parent 26377 028dad61662f
child 27817 56f6161c3e55
permissions -rw-r--r--
8057691: Nashorn: let & const declarations are not shared between scripts Reviewed-by: lagergren, attila
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
top level function
028dad61662f 8051889: Implement block scoping in symbol assignment and scope computation
hannesw
parents:
diff changeset
     2
block function
028dad61662f 8051889: Implement block scoping in symbol assignment and scope computation
hannesw
parents:
diff changeset
     3
print local defs: 20 30
028dad61662f 8051889: Implement block scoping in symbol assignment and scope computation
hannesw
parents:
diff changeset
     4
imported var: 1
27814
96427359f4fe 8057691: Nashorn: let & const declarations are not shared between scripts
hannesw
parents: 26377
diff changeset
     5
imported let: 2
96427359f4fe 8057691: Nashorn: let & const declarations are not shared between scripts
hannesw
parents: 26377
diff changeset
     6
imported const: 3
26377
028dad61662f 8051889: Implement block scoping in symbol assignment and scope computation
hannesw
parents:
diff changeset
     7
top level function
028dad61662f 8051889: Implement block scoping in symbol assignment and scope computation
hannesw
parents:
diff changeset
     8
ReferenceError: "block" is not defined