nashorn/test/script/basic/JDK-8047959.js.EXPECTED
author hannesw
Mon, 15 Sep 2014 17:51:11 +0200 (2014-09-15)
changeset 26648 9a64e15eff37
parent 25240 f92c14b1ca11
permissions -rw-r--r--
8056978: ClassCastException: cannot cast jdk.nashorn.internal.scripts.JO* Reviewed-by: jlaskey, sundar
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
25240
f92c14b1ca11 8047959: bindings created for declarations in eval code are not mutable
sundar
parents:
diff changeset
     1
delete x? false
f92c14b1ca11 8047959: bindings created for declarations in eval code are not mutable
sundar
parents:
diff changeset
     2
typeof x = number
f92c14b1ca11 8047959: bindings created for declarations in eval code are not mutable
sundar
parents:
diff changeset
     3
delete f? true
f92c14b1ca11 8047959: bindings created for declarations in eval code are not mutable
sundar
parents:
diff changeset
     4
typeof f = undefined
f92c14b1ca11 8047959: bindings created for declarations in eval code are not mutable
sundar
parents:
diff changeset
     5
delete foo? false
f92c14b1ca11 8047959: bindings created for declarations in eval code are not mutable
sundar
parents:
diff changeset
     6
typeof foo = number
f92c14b1ca11 8047959: bindings created for declarations in eval code are not mutable
sundar
parents:
diff changeset
     7
delete func? false
f92c14b1ca11 8047959: bindings created for declarations in eval code are not mutable
sundar
parents:
diff changeset
     8
typeof func = function
f92c14b1ca11 8047959: bindings created for declarations in eval code are not mutable
sundar
parents:
diff changeset
     9
delete foo? false
f92c14b1ca11 8047959: bindings created for declarations in eval code are not mutable
sundar
parents:
diff changeset
    10
typeof foo? number
f92c14b1ca11 8047959: bindings created for declarations in eval code are not mutable
sundar
parents:
diff changeset
    11
foo = 33
f92c14b1ca11 8047959: bindings created for declarations in eval code are not mutable
sundar
parents:
diff changeset
    12
x in function = local
f92c14b1ca11 8047959: bindings created for declarations in eval code are not mutable
sundar
parents:
diff changeset
    13
delete x? = true
f92c14b1ca11 8047959: bindings created for declarations in eval code are not mutable
sundar
parents:
diff changeset
    14
x after delete = global
f92c14b1ca11 8047959: bindings created for declarations in eval code are not mutable
sundar
parents:
diff changeset
    15
x = global