nashorn/test/script/basic/JDK-8048071.js.EXPECTED
author hannesw
Thu, 04 Sep 2014 15:37:14 +0200
changeset 26377 028dad61662f
parent 25242 ac1d21c4d61d
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:
25242
ac1d21c4d61d 8048071: eval within 'with' statement does not use correct scope if with scope expression has a copy of eval
sundar
parents:
diff changeset
     1
23
ac1d21c4d61d 8048071: eval within 'with' statement does not use correct scope if with scope expression has a copy of eval
sundar
parents:
diff changeset
     2
typeof x? undefined
ac1d21c4d61d 8048071: eval within 'with' statement does not use correct scope if with scope expression has a copy of eval
sundar
parents:
diff changeset
     3
0
ac1d21c4d61d 8048071: eval within 'with' statement does not use correct scope if with scope expression has a copy of eval
sundar
parents:
diff changeset
     4
typeof x? undefined
ac1d21c4d61d 8048071: eval within 'with' statement does not use correct scope if with scope expression has a copy of eval
sundar
parents:
diff changeset
     5
0
ac1d21c4d61d 8048071: eval within 'with' statement does not use correct scope if with scope expression has a copy of eval
sundar
parents:
diff changeset
     6
typeof x? undefined
ac1d21c4d61d 8048071: eval within 'with' statement does not use correct scope if with scope expression has a copy of eval
sundar
parents:
diff changeset
     7
local eval called: hello
ac1d21c4d61d 8048071: eval within 'with' statement does not use correct scope if with scope expression has a copy of eval
sundar
parents:
diff changeset
     8
[object global]
ac1d21c4d61d 8048071: eval within 'with' statement does not use correct scope if with scope expression has a copy of eval
sundar
parents:
diff changeset
     9
with's eval called: hello
ac1d21c4d61d 8048071: eval within 'with' statement does not use correct scope if with scope expression has a copy of eval
sundar
parents:
diff changeset
    10
this = [object Object]
ac1d21c4d61d 8048071: eval within 'with' statement does not use correct scope if with scope expression has a copy of eval
sundar
parents:
diff changeset
    11
this.foo = 42