mirror of
https://github.com/swc-project/swc.git
synced 2024-12-18 19:21:33 +03:00
b853d4ac95
swc_ecma_parser: - Recover from unterminated string literals.
25 lines
517 B
Plaintext
25 lines
517 B
Plaintext
error: Expected ';', '}' or <eof>
|
|
--> $DIR/tests/test262-parser/fail/0ffb1c3ecf85660e.js:2:6
|
|
|
|
|
2 | World"
|
|
| ^
|
|
|
|
|
note: This is the expression part of an expression statement
|
|
--> $DIR/tests/test262-parser/fail/0ffb1c3ecf85660e.js:2:1
|
|
|
|
|
2 | World"
|
|
| ^^^^^
|
|
|
|
error: Unterminated string constant
|
|
--> $DIR/tests/test262-parser/fail/0ffb1c3ecf85660e.js:1:1
|
|
|
|
|
1 | "Hello
|
|
| ^^^^^^
|
|
|
|
error: Unterminated string constant
|
|
--> $DIR/tests/test262-parser/fail/0ffb1c3ecf85660e.js:2:6
|
|
|
|
|
2 | World"
|
|
| ^
|
|
|