nashorn/test/script/error/JDK-8026039.js.EXPECTED
author jjg
Fri, 12 May 2017 10:43:28 -0700
changeset 45135 d4fc433ea810
parent 24778 2ff5d7041566
permissions -rw-r--r--
Merge
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
20571
f52b0abf5d88 8026039: future strict names are allowed as function name and argument name of a strict function
sundar
parents:
diff changeset
     1
test/script/error/JDK-8026039.js:30:9 "public" cannot be used as function name in strict mode
f52b0abf5d88 8026039: future strict names are allowed as function name and argument name of a strict function
sundar
parents:
diff changeset
     2
function public() {"use strict"}
f52b0abf5d88 8026039: future strict names are allowed as function name and argument name of a strict function
sundar
parents:
diff changeset
     3
         ^
f52b0abf5d88 8026039: future strict names are allowed as function name and argument name of a strict function
sundar
parents:
diff changeset
     4
test/script/error/JDK-8026039.js:32:11 Expected ident but found public
24778
2ff5d7041566 8044638: Tidy up Nashorn codebase for code standards
attila
parents: 20571
diff changeset
     5
function f(public) {"use strict"}
20571
f52b0abf5d88 8026039: future strict names are allowed as function name and argument name of a strict function
sundar
parents:
diff changeset
     6
           ^
f52b0abf5d88 8026039: future strict names are allowed as function name and argument name of a strict function
sundar
parents:
diff changeset
     7
test/script/error/JDK-8026039.js:33:0 Expected } but found eof
f52b0abf5d88 8026039: future strict names are allowed as function name and argument name of a strict function
sundar
parents:
diff changeset
     8
f52b0abf5d88 8026039: future strict names are allowed as function name and argument name of a strict function
sundar
parents:
diff changeset
     9
^