mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 21:21:31 +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: }
|
|
: ^^^^^^^
|
|
`----
|