Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix collisions between original property and mangled property #1063

Merged
merged 2 commits into from Sep 18, 2021

Commits on Sep 12, 2021

  1. 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`.
    jridgewell committed Sep 12, 2021
    Copy the full SHA
    39548dd View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2021

  1. Copy the full SHA
    5a9d757 View commit details
    Browse the repository at this point in the history