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 a collision with exported variables with short names #1072

Merged
merged 2 commits into from Sep 22, 2021

Commits on Sep 20, 2021

  1. Fix a collision with exported variables with short names

    In some cases, it's possible to generate a collision between an exported variable declaration (which cannot be mangled) and a local reference. Eg,
    
    ```js
    // reduce_vars: false
    const n = null;
    export const o = {o: n};
    ```
    jridgewell committed Sep 20, 2021
    Copy the full SHA
    996fc0d View commit details
    Browse the repository at this point in the history
  2. Remove TODO comment

    jridgewell committed Sep 20, 2021
    Copy the full SHA
    dee419c View commit details
    Browse the repository at this point in the history