oxc/crates/oxc_semantic
DonIsaac 48821c0110 feat(semantic,syntax): add SymbolFlags::ArrowFunction (#4946)
There are many cases in lint rules where we want to see if a symbol is a
function by checking its SymbolFlags. This is currently not fully possible,
since variables assigned to arrow functions are not distinguished from any other
kind of variable. This PR adds `SymbolFlags::ArrowFunction` for variables that
are initialized to arrow functions. Symbols that are re-assigned to arrow
functions will not have this flag, but this is acceptable for lint rules.
2024-08-18 05:54:23 +00:00
..
examples docs(semantic): improve documentation (#4850) 2024-08-13 02:14:07 +00:00
src feat(semantic,syntax): add SymbolFlags::ArrowFunction (#4946) 2024-08-18 05:54:23 +00:00
tests feat(semantic,syntax): add SymbolFlags::ArrowFunction (#4946) 2024-08-18 05:54:23 +00:00
Cargo.toml Release crates v0.24.2 (#4841) 2024-08-12 16:02:07 +08:00
CHANGELOG.md Release crates v0.24.0 (#4749) 2024-08-08 14:00:57 +08:00