test/nashorn/script/error/JDK-8026039.js.EXPECTED
author erikj
Tue, 12 Sep 2017 19:03:39 +0200
changeset 47216 71c04702a3d5
parent 24778 nashorn/test/script/error/JDK-8026039.js.EXPECTED@2ff5d7041566
child 47217 72e3ae9a25eb
permissions -rw-r--r--
8187443: Forest Consolidation: Move files to unified layout Reviewed-by: darcy, ihse
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
^