mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
`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.
|
||
|---|---|---|
| .. | ||
| fixtures | ||
| integration | ||
| main.rs | ||