oxc/crates/oxc_ecmascript
camchenry da199c7476 fix(ecmascript): allow getting PropName for object methods (#6967)
Working on some lint rules and noticed that PropName didn't seem to be working as intended. According to the spec, we should definitely allow get/set/methods to have prop names:

https://tc39.es/ecma262/#sec-static-semantics-propname

<img width="694" alt="image" src="https://github.com/user-attachments/assets/60fdfeec-2320-4cd9-a786-901728e459b2">

However, we still need to retain this logic for checking `__proto__` because it has special rules.
2024-10-28 09:34:27 +00:00
..
src fix(ecmascript): allow getting PropName for object methods (#6967) 2024-10-28 09:34:27 +00:00
Cargo.toml fix(ecmascript): allow getting PropName for object methods (#6967) 2024-10-28 09:34:27 +00:00
CHANGELOG.md release(crates): v0.34.0 (#6908) 2024-10-26 09:39:53 +08:00