mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
# What This PR Does
Symbols declared inside exported functions and classes were being
incorrectly flagged with `SymbolFlags::Export`.
For example,
```ts
export function foo<T>(a: T) {
let b = String(a)
return b
}
```
`T`, `a`, and `b` were all flagged as exported.
## Further Work
It doesn't seem like exported enums and interfaces are being included in
`ModuleRecord`. Am I looking in the wrong place, or are they actually
missing?
|
||
|---|---|---|
| .. | ||
| cfg_fixtures | ||
| snapshots | ||
| util | ||
| cfg.rs | ||
| classes.rs | ||
| modules.rs | ||
| scopes.rs | ||
| symbols.rs | ||