swc/crates/swc_ecma_parser/tests/test262-error-references/fail/89036b2edb64c00c.js.stderr
David Sherret b853d4ac95
feat(es/parser): Implement more error recovery ()
swc_ecma_parser:
 - Recover from unterminated string literals.
2021-11-25 23:12:40 +00:00

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 | ')
| ^^