swc/crates/swc_ecma_parser/tests/test262-error-references/fail/44dda972051e652d.js.stderr

7 lines
162 B
Plaintext

error: A `get` accessor cannot have parameters
--> $DIR/tests/test262-parser/fail/44dda972051e652d.js:1:11
|
1 | class A { get prop(x) {} }
| ^^^