mirror of
https://github.com/oxc-project/oxc.git
synced 2026-09-14 19:36:11 +08:00
8ca76da714
`class C { accessor x() {} }` was accepted as an ordinary method, silently dropping the `accessor` modifier. Reject it with TypeScript diagnostic TS1275 on methods, getters, setters, and constructors, while preserving valid auto-accessor fields and members named `accessor`.