oxc/tasks
Dunqing d63c50a5ca
refactor(semantic): improve check private identifier implementation (#1794)
The regression case in typescript is as expected since we don't
currently store `AccessorProperty` in `ClassTable`.

The following code is one of those cases

```ts
class C1 {
    accessor #a: any;
    accessor #b = 1;
    static accessor #c: any;
    static accessor #d = 2;

    constructor() {
        this.#a = 3;
        this.#b = 4;
    }

    static {
        this.#c = 5;
        this.#d = 6;
    }
}
```

But there was an error

```shell
Expect to Parse: "conformance/classes/propertyMemberDeclarations/autoAccessor2.ts"
  × Private field 'a' must be declared in an enclosing class
    ╭─[conformance/classes/propertyMemberDeclarations/autoAccessor2.ts:9:1]
  9 │     constructor() {
 10 │         this.#a = 3;
    ·              ──
 11 │         this.#b = 4;
    ╰────
```

Let's leave it alone for now. Because of the `AccessorProperty` I
haven't seen it in any repo.
2023-12-26 20:39:22 +08:00
..
benchmark refactor(benchmark): use more complicated files (#1811) 2023-12-25 17:27:02 +08:00
common refactor(benchmark): use more complicated files (#1811) 2023-12-25 17:27:02 +08:00
coverage refactor(semantic): improve check private identifier implementation (#1794) 2023-12-26 20:39:22 +08:00
minsize refactor(rust): move to workspace lint table (#1444) 2023-11-20 14:38:10 +08:00
prettier_conformance feat(prettier): add print_binaryish_expressions (#1664) 2023-12-13 22:52:53 +08:00
rulegen chore: add deepscan to rulegen (#1748) 2023-12-20 12:29:28 +08:00
transform_conformance feat(transformer): add partial support for babel-plugin-transform-instanceof (#1802) 2023-12-25 15:06:41 +08:00
libs.txt refactor(benchmark): use more complicated files (#1811) 2023-12-25 17:27:02 +08:00