oxc/tasks/transform_conformance/snapshots
overlookmotel 199076bd14 fix(transformer/class-properties): transform private property accesses in static prop initializers (#7483)
Transform private property accesses in static prop initializers. e.g.:

Input:

```js
class C {
  static #x = 123;
  static y = this.#x;
}
```

Transformed:

```js
class C {}
var _x = { _: 123 };
babelHelpers.defineProperty(C, "y", babelHelpers.assertClassBrand(C, C, _x)._);
```

`this.#x` has been transformed to `babelHelpers.assertClassBrand(C, C, _x)._`.
2024-11-26 11:36:09 +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 fix(transformer/class-properties): transform this in static prop initializers (#7481) 2024-11-25 20:10:05 +00:00
babel_exec.snap.md fix(transformer/class-properties): transform private property accesses in static prop initializers (#7483) 2024-11-26 11:36:09 +00:00
oxc.snap.md chore(coverage): bump test262, babel and TypeScript submodules (#7452) 2024-11-24 16:26:45 +00:00
oxc_exec.snap.md chore(coverage): bump test262, babel and TypeScript submodules (#7452) 2024-11-24 16:26:45 +00:00