swc/crates/swc_ecma_parser/tests/test262-error-references/fail/fb130c395c6aafe7.js.stderr
Donny/강동윤 b31ead5cbe chore: Fix CI
2022-03-20 15:25:35 +09:00

14 lines
384 B
Plaintext

x A switch block cannot have multiple defaults
,-[$DIR/tests/test262-parser/fail/fb130c395c6aafe7.js:1:1]
1 | switch (c) { default: default: }
: ^^^^^^^
`----
Error:
> previous default case is declared at here
,-[$DIR/tests/test262-parser/fail/fb130c395c6aafe7.js:1:1]
1 | switch (c) { default: default: }
: ^^^^^^^
`----