mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 20:32:10 +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. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||
| CHANGELOG.md | ||