mirror of
https://github.com/hanzoai/swc.git
synced 2026-10-30 19:42:53 +00:00
15 lines
398 B
Plaintext
15 lines
398 B
Plaintext
x 'arguments' is only allowed in functions and class methods
|
|
,-[$DIR/tests/errors/arguments/input.js:4:1]
|
|
3 | class B {
|
|
4 | [arguments]
|
|
: ^^^^^^^^^
|
|
5 | }
|
|
`----
|
|
x 'arguments' is only allowed in functions and class methods
|
|
,-[$DIR/tests/errors/arguments/input.js:8:1]
|
|
7 |
|
|
8 | foo = arguments
|
|
: ^^^^^^^^^
|
|
9 | }
|
|
`----
|