author | hannesw |
Thu, 27 Nov 2014 16:42:53 +0100 | |
changeset 27817 | 56f6161c3e55 |
parent 27814 | 96427359f4fe |
permissions | -rw-r--r-- |
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 |
27817
56f6161c3e55
8057980: let & const: remaining issues with lexical scoping
hannesw
parents:
27814
diff
changeset
|
9 |
TypeError: Assignment to constant "c" |