swc/ecmascript/parser/tests/test262-error-references/fail/2d1410e37ecc3647.js.stderr
강동윤 a1d33d023a
Improve ux using swc as a rust library (#893)
swc_ecma_parser:
 - Improve parser's error reporting story
 - Replace `Session`, `Handler`, `Emitter` with Parser.take_errors()
 - Expose `Error`
 - Remove useless lifetime parameters
2020-07-25 20:26:04 +09:00

13 lines
286 B
Plaintext

error: Expected LBrace, got None
--> $DIR/tests/test262-parser/fail/2d1410e37ecc3647.js:1:23
|
1 | function f(a, ...b = 0)
| ^
error: TS1048
--> $DIR/tests/test262-parser/fail/2d1410e37ecc3647.js:1:18
|
1 | function f(a, ...b = 0)
| ^