author | sundar |
Tue, 08 Oct 2013 14:57:31 +0200 | |
changeset 20571 | f52b0abf5d88 |
child 24778 | 2ff5d7041566 |
permissions | -rw-r--r-- |
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 |
f52b0abf5d88
8026039: future strict names are allowed as function name and argument name of a strict function
sundar
parents:
diff
changeset
|
5 |
function f(public) {"use strict"} |
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 |
^ |