mirror of
https://github.com/swc-project/swc.git
synced 2024-12-18 11:11:30 +03:00
93a264c9a4
**Description:** The problem arises in L235 of swc_ecma_transforms_base/src/rename/mod.rs ```rs unit!(visit_mut_fn_decl, FnDecl, true); ``` which calls `get_map` and evals to ```rs node.visit_children_with(&mut v); ``` with `FnDecl` and `Analyzer` in L132. However, in `Analyzer`, a visit to raw function was not overloaded, so function arguments and function body are considered different scopes. **Related issue:** - Closes #7261. |
||
---|---|---|
.. | ||
1 | ||
2 | ||
issue-5766 | ||
issue-6345/1 | ||
issue-6819 | ||
issue-7261 | ||
reuse |