author | erikj |
Tue, 12 Sep 2017 19:03:39 +0200 | |
changeset 47216 | 71c04702a3d5 |
parent 17973 | nashorn/test/script/basic/JDK-8015345.js.EXPECTED@d220c8157f25 |
permissions | -rw-r--r-- |
17973
d220c8157f25
8015345: Function("}),print('test'),({") should throw SyntaxError
sundar
parents:
diff
changeset
|
1 |
SyntaxError: <function>:1:0 Expected eof but found } |
d220c8157f25
8015345: Function("}),print('test'),({") should throw SyntaxError
sundar
parents:
diff
changeset
|
2 |
}),print('test'),({ |
d220c8157f25
8015345: Function("}),print('test'),({") should throw SyntaxError
sundar
parents:
diff
changeset
|
3 |
^ |
d220c8157f25
8015345: Function("}),print('test'),({") should throw SyntaxError
sundar
parents:
diff
changeset
|
4 |
SyntaxError: <function>:1:2 Expected an operand but found * |
d220c8157f25
8015345: Function("}),print('test'),({") should throw SyntaxError
sundar
parents:
diff
changeset
|
5 |
x**y |
d220c8157f25
8015345: Function("}),print('test'),({") should throw SyntaxError
sundar
parents:
diff
changeset
|
6 |
^ |
d220c8157f25
8015345: Function("}),print('test'),({") should throw SyntaxError
sundar
parents:
diff
changeset
|
7 |
SyntaxError: <function>:1:0 Expected an operand but found in |
d220c8157f25
8015345: Function("}),print('test'),({") should throw SyntaxError
sundar
parents:
diff
changeset
|
8 |
in |
d220c8157f25
8015345: Function("}),print('test'),({") should throw SyntaxError
sundar
parents:
diff
changeset
|
9 |
^ |
d220c8157f25
8015345: Function("}),print('test'),({") should throw SyntaxError
sundar
parents:
diff
changeset
|
10 |
SyntaxError: <function>:1:3 Expected ; but found y |
d220c8157f25
8015345: Function("}),print('test'),({") should throw SyntaxError
sundar
parents:
diff
changeset
|
11 |
x--y |
d220c8157f25
8015345: Function("}),print('test'),({") should throw SyntaxError
sundar
parents:
diff
changeset
|
12 |
^ |
d220c8157f25
8015345: Function("}),print('test'),({") should throw SyntaxError
sundar
parents:
diff
changeset
|
13 |
100 |
d220c8157f25
8015345: Function("}),print('test'),({") should throw SyntaxError
sundar
parents:
diff
changeset
|
14 |
55 |
d220c8157f25
8015345: Function("}),print('test'),({") should throw SyntaxError
sundar
parents:
diff
changeset
|
15 |
12 |