mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
# What This PR Does
Consider the following code snippet
```js
const x = function y () {{
```
`y` will now be flagged with `SymbolFlags::Function`. This follow's
tsc's behavior.
- [Example in OXC
Playground](https://oxc-project.github.io/oxc/playground/?code=3YCAAICagICAgICAgICxG0qZRraXZOpcCHVsSRwDq2kRR0HprsTfRRT5WMw%2Ff2epoIA%3D)
- [Example in TypeScript AST
Viewer](https://ts-ast-viewer.com/#code/MYewdgzgLgBAHjAvDAZgVzMKBLcMCeAFAJQwDeAvgFBA)
|
||
|---|---|---|
| .. | ||
| cfg_fixtures | ||
| snapshots | ||
| util | ||
| cfg.rs | ||
| classes.rs | ||
| modules.rs | ||
| scopes.rs | ||
| symbols.rs | ||