oxc/tasks/transform_conformance/snapshots
overlookmotel c0576faf80 fix(transformer/class-properties): use UID for args in created class constructor (#7866)
When creating class constructor for a class which has super class, use UID `_args` for temp var (rather than `args`). This avoids shadowing a var called `args` used in an instance property initializer.

This diverges from Babel. Babel uses `args` unless it finds a var called `args` in an instance property initializer. But searching the AST of initializers can be fairly expensive, so it's better to skip it. The overrides for test fixtures included in this PR are just to account for that difference.
2024-12-14 04:18:48 +00:00
..
babel.snap.md fix(transformer/class-properties): use UID for args in created class constructor (#7866) 2024-12-14 04:18:48 +00:00
babel_exec.snap.md feat(transformer/class-properties): transform super member expressions that are inside static prop initializer (#7815) 2024-12-13 02:33:37 +00:00
oxc.snap.md feat(transformer/class-properties): transform super call expression that is inside static prop initializer (#7831) 2024-12-13 13:47:38 +00:00
oxc_exec.snap.md feat(transformer/class-properties): support private_fields_as_properties assumption (#7717) 2024-12-10 02:28:31 +00:00