oxc/crates/oxc_traverse/src
overlookmotel 6fd7a3c427
fix(traverse): create scopes for functions (#3273)
Fix bug with:

1. scopes not being created for functions.
2. too many scopes being created for class methods.

i.e. Logic for when `Function` creates a scope was opposite of what it
should be.

Discovered by @Dunqing in
https://github.com/oxc-project/oxc/pull/3258#pullrequestreview-2054259476.
2024-05-14 18:27:18 +08:00
..
ancestor.rs feat(ast): add type to AccessorProperty to support TSAbractAccessorProperty (#3256) 2024-05-13 12:35:58 +00:00
context.rs fix(traverse): allow TraverseCtx::find_ancestor closure to return AST node (#3236) 2024-05-11 12:07:06 +00:00
lib.rs feat(traverse): add scope flags to TraverseCtx (#3229) 2024-05-11 04:39:42 +00:00
traverse.rs feat(transform): oxc_traverse crate (#3169) 2024-05-06 09:37:04 +08:00
walk.rs fix(traverse): create scopes for functions (#3273) 2024-05-14 18:27:18 +08:00