7b35db48f7
Reviewed-by: lagergren, attila
31 lines
1.6 KiB
Plaintext
31 lines
1.6 KiB
Plaintext
SyntaxError: test/script/basic/es6/let-const-statement-context.js#34:8<eval>:1:10 Expected statement but found let declaration
|
|
if (true) let x = 1;
|
|
^
|
|
SyntaxError: test/script/basic/es6/let-const-statement-context.js#34:8<eval>:1:10 Expected statement but found const declaration
|
|
if (true) const x = 1;
|
|
^
|
|
SyntaxError: test/script/basic/es6/let-const-statement-context.js#34:8<eval>:1:13 Expected statement but found let declaration
|
|
while (true) let x = 1;
|
|
^
|
|
SyntaxError: test/script/basic/es6/let-const-statement-context.js#34:8<eval>:1:13 Expected statement but found const declaration
|
|
while (true) const x = 1;
|
|
^
|
|
SyntaxError: test/script/basic/es6/let-const-statement-context.js#34:8<eval>:1:9 Expected statement but found let declaration
|
|
for (;;) let x = 1;
|
|
^
|
|
SyntaxError: test/script/basic/es6/let-const-statement-context.js#34:8<eval>:1:9 Expected statement but found const declaration
|
|
for (;;) const x = 1;
|
|
^
|
|
SyntaxError: test/script/basic/es6/let-const-statement-context.js#34:8<eval>:1:3 Expected statement but found let declaration
|
|
do let x = 1; while (true);
|
|
^
|
|
SyntaxError: test/script/basic/es6/let-const-statement-context.js#34:8<eval>:1:3 Expected statement but found const declaration
|
|
do const x = 1; while (true);
|
|
^
|
|
SyntaxError: test/script/basic/es6/let-const-statement-context.js#34:8<eval>:1:9 Expected statement but found const declaration
|
|
with (y) const x = 1;
|
|
^
|
|
SyntaxError: test/script/basic/es6/let-const-statement-context.js#34:8<eval>:1:9 Expected statement but found let declaration
|
|
with (y) let x = 1;
|
|
^
|