nashorn/test/script/basic/JDK-8019791.js.EXPECTED
author sundar
Fri, 05 Jul 2013 14:38:04 +0530
changeset 18851 bdb92c95f886
parent 18840 3e7bff1b7b59
child 20929 f2bd18181940
permissions -rw-r--r--
8019947: inherited property invalidation does not work with two globals in same context Reviewed-by: jlaskey, lagergren, hannesw, attila
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
18840
3e7bff1b7b59 8019791: ~ is a unary operator
sundar
parents:
diff changeset
     1
SyntaxError: test/script/basic/JDK-8019791.js#33<eval>:1:3 Expected ; but found ~
3e7bff1b7b59 8019791: ~ is a unary operator
sundar
parents:
diff changeset
     2
"" ~ ""
3e7bff1b7b59 8019791: ~ is a unary operator
sundar
parents:
diff changeset
     3
   ^
3e7bff1b7b59 8019791: ~ is a unary operator
sundar
parents:
diff changeset
     4
SyntaxError: test/script/basic/JDK-8019791.js#41<eval>:1:18 Expected ) but found ~
3e7bff1b7b59 8019791: ~ is a unary operator
sundar
parents:
diff changeset
     5
function() { if (1~0) return 0; return 1 }
3e7bff1b7b59 8019791: ~ is a unary operator
sundar
parents:
diff changeset
     6
                  ^