swc/crates/swc_ecma_transforms_compat
Donny/강동윤 6fe6810c49
fix(es/compat): Split declaration and init in block-scoping pass (#8648)
**Description:**

This does not support 

```js
class Foo extends Bar {
    constructor() {
        for (const i of [1]) {
            setTimeout(() => {
                console.log(this)
            });
        }
        super();
    }
}
```

but it does not seem to be used in a real-world code.

**Related issue:**

 - Closes #8300
 - Closes #8311
2024-02-20 09:53:53 +09:00
..
src refactor(es/utils): Use exact type for factory methods (#8417) 2023-12-12 15:13:10 +09:00
tests fix(es/compat): Split declaration and init in block-scoping pass (#8648) 2024-02-20 09:53:53 +09:00
Cargo.toml chore: Bump crates 2024-02-19 03:15:59 +00:00