Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix collisions between original property and mangled property
This fixes a bug when an original property (`obj.i`) shares the same name as a mangled property (`obj.prop` -> `n.i`), and you're using a name-cache. Because our mangled name collides, we have to ensure all original `.i` properties are renamed to something else (`n.o`). But, because we had a name-cache, we would reserve the mangled property name in the mangler. That prevents us from attempting to rename the original `.i` property to `.o`.
- Loading branch information
1 parent
f04077c
commit 0605bc3
Showing
2 changed files
with
35 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters