oxc/crates/oxc_syntax
overlookmotel c96b712f6b refactor(syntax)!: remove SymbolFlags::ArrowFunction (#5857)
`SymbolFlags::ArrowFunction` is an oddity, as whether a symbol is an arrow function is not statically knowable. In the following cases, `f` symbol did not have `ArrowFunction` flag set:

```js
const {f} = {f: () => {}};
```

```js
let f = 123;
f = () => {};
```

`SymbolFlags::ArrowFunction` is therefore not particularly useful, and possibly misleading. Having it complicates the transformer, and it's not used anywhere in Oxc.

This PR removes it.
2024-09-18 14:03:03 +00:00
..
src refactor(syntax)!: remove SymbolFlags::ArrowFunction (#5857) 2024-09-18 14:03:03 +00:00
Cargo.toml release(crates): v0.29.0 (#5763) 2024-09-13 21:43:23 +08:00
CHANGELOG.md release(crates): v0.29.0 (#5763) 2024-09-13 21:43:23 +08:00