mirror of
https://github.com/swc-project/swc.git
synced 2024-12-19 19:52:21 +03:00
b853d4ac95
swc_ecma_parser: - Recover from unterminated string literals.
19 lines
355 B
Plaintext
19 lines
355 B
Plaintext
error: Expected ',', got 'string literal ())'
|
|
--> $DIR/tests/test262-parser/fail/89036b2edb64c00c.js:2:1
|
|
|
|
|
2 | ')
|
|
| ^^
|
|
|
|
error: Unterminated string constant
|
|
--> $DIR/tests/test262-parser/fail/89036b2edb64c00c.js:1:2
|
|
|
|
|
1 | ('
|
|
| ^
|
|
|
|
error: Unterminated string constant
|
|
--> $DIR/tests/test262-parser/fail/89036b2edb64c00c.js:2:1
|
|
|
|
|
2 | ')
|
|
| ^^
|
|
|