oxc/tasks/transform_conformance/overrides
overlookmotel 273795d471 fix(transformer/class-properties): run other transforms on static properties, static blocks, and computed keys (#7982)
Large re-architecting of class properties transform. Split transform into 3 phases:

1. Transform instance properties when entering class.
2. Transform private fields during traversal of class body.
3. Transform static properties and static blocks when exiting class.

This ensures that code which has to be moved outside of the class (static property initializers, static blocks, computed keys) can get transformed by other transforms before they're moved out.

Also fixes a problem where we previously registered private properties too early - on entering the class, rather than the class *body*, so private fields in `extends` clause of a nested class were misinterpretted.
2024-12-20 10:07:23 +00:00
..
babel-plugin-transform-class-properties/test/fixtures fix(transformer/class-properties): run other transforms on static properties, static blocks, and computed keys (#7982) 2024-12-20 10:07:23 +00:00
babel-plugin-transform-logical-assignment-operators/test/fixtures/logical-assignment/null-coalescing-without-other feat(transformer/logical-assignment-operators): no temp vars for literals (#7759) 2024-12-10 02:28:28 +00:00
babel-plugin-transform-object-rest-spread/test/fixtures chore(tasks/transform-conformance): support override to replace takeover mode (#7771) 2024-12-11 16:18:14 +00:00
babel-plugin-transform-optional-chaining/test/fixtures chore(tasks/transform-conformance): support override to replace takeover mode (#7771) 2024-12-11 16:18:14 +00:00