You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current implementation assigned symbol name is append ${count} if the symbol is conflicting. But the new name maybe also happen conflict. See blowing example.
<!-- Thank you for contributing! -->
### Description
Fixes#364
<!-- Please insert your description here and provide especially info about the "what" this PR is solving -->
### Test Plan
<!-- e.g. is there anything you'd like reviewers to focus on? -->
---
The current implementation assigned symbol name is append
${count}
if the symbol is conflicting. But the new name maybe also happen conflict. See blowing example.Input
Build Output
We should assign a name with the current scope that is not a used name, like esbuild
findNameUse
https://github.com/evanw/esbuild/blob/main/internal/renamer/renamer.go#L564. We need to collect the all symbols for scope at first, we only collectunresolved
symbols at now.The text was updated successfully, but these errors were encountered: