oxc/tasks/transform_conformance/snapshots
overlookmotel e48769a45d fix(transformer/logic-assignment-operator): always create IdentifierReferences with ReferenceId (#7745)
Use `TransformCtx::duplicate_expression` (introduced in #7754) to decide when to create temp vars for member expression object and computed property.

This fixes a bug where `IdentifierReference`s created when transforming `key` in `object[key] &&= value` were created without a `ReferenceId` (due to `clone_in`).

We didn't catch this before because Babel's test fixtures only cover `object[key++] &&= value` not the simpler `object[key] &&= value`. Add tests for this.
2024-12-10 02:28:26 +00:00
..
babel-plugin-transform-object-rest-spread/test/fixtures feat(transformer): transform object rest spread (#7003) 2024-11-21 11:33:26 +00:00
babel-plugin-transform-optional-chaining/test/fixtures feat(transformer): Optional Chaining (#6990) 2024-11-21 03:12:18 +00:00
babel.snap.md test(transformer/class-properties): override test output for _super in class constructor (#7729) 2024-12-08 17:57:57 +00:00
babel_exec.snap.md test(transformer/class-properties): override fixtures (#7689) 2024-12-08 01:41:33 +00:00
oxc.snap.md fix(transformer/logic-assignment-operator): always create IdentifierReferences with ReferenceId (#7745) 2024-12-10 02:28:26 +00:00
oxc_exec.snap.md test(transformer/class-properties): exec test for this in computed key (#7687) 2024-12-08 01:41:31 +00:00