mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 14:43:33 +03:00
14 lines
384 B
Plaintext
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: }
|
|
: ^^^^^^^
|
|
`----
|