mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
Fixes a bug in #3229. The logic to prevent a duplicate scope being created for a `Function` which is a `MethodDefinition` would also stop a scope being created for inner function in: ```rs class X { foo() { function bar() {} } } ``` or ```rs class X { foo( bar = function() {} ) {} } ``` This PR fixes that. This change also allows removing `ScopeFlags::Method` which #3229 added. |
||
|---|---|---|
| .. | ||
| ast | ||
| syntax_directed_operations | ||
| visit | ||
| ast_builder.rs | ||
| ast_kind.rs | ||
| lib.rs | ||
| precedence.rs | ||
| serialize.rs | ||
| span.rs | ||
| trivia.rs | ||