mirror of
https://github.com/swc-project/swc.git
synced 2024-12-01 01:13:56 +03:00
17 lines
399 B
Plaintext
17 lines
399 B
Plaintext
|
|
x 'arguments' is only allowed in functions and class methods
|
|
,-[$DIR/tests/errors/arguments/input.js:3:1]
|
|
3 | class B {
|
|
4 | [arguments]
|
|
: ^^^^^^^^^
|
|
5 | }
|
|
`----
|
|
|
|
x 'arguments' is only allowed in functions and class methods
|
|
,-[$DIR/tests/errors/arguments/input.js:7:1]
|
|
7 |
|
|
8 | foo = arguments
|
|
: ^^^^^^^^^
|
|
9 | }
|
|
`----
|