Files
Huáng JùnliàngandGitHub ec3c42c70d Disallow super call after new (#17871)
* fix(parser): disallow super() after new

* fix(generator): update new callee parenthese rules

* fix: disallow super/import after bind operator

* update typescript parser test allowlist

* fix(types): disallow import/super/v8Intrinsic as callee of new expression

* chore: fix lint error

* add new test cases

* update test cases
2026-03-18 11:10:55 -04:00

5 lines
118 B
JSON

{
"allowSuperOutsideMethod": true,
"throws": "The right-hand side of binding can not be super or import. (1:3)"
}