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 var/const/let variable use before declaration #4148

Merged
merged 15 commits into from Jul 7, 2021
Merged

Fix var/const/let variable use before declaration #4148

merged 15 commits into from Jul 7, 2021

Commits on Jul 2, 2021

  1. Fix var/const/let variable use before declaration

    * Also retains TDZ violations present in input
    * Enabled by default when treeshake is active
    * Low overhead - uses existing treeshaking simulated
      execution to mark declarations as reached
    kzc authored and lukastaegert committed Jul 2, 2021
    Copy the full SHA
    3969ee6 View commit details
    Browse the repository at this point in the history
  2. successfully run tests from #4149

    without treeshake.correctVarBeforeDeclaration
    kzc authored and lukastaegert committed Jul 2, 2021
    Copy the full SHA
    dcb9e57 View commit details
    Browse the repository at this point in the history
  3. Fix pattern handling

    lukastaegert committed Jul 2, 2021
    Copy the full SHA
    3189ebc View commit details
    Browse the repository at this point in the history
  4. Handle TDZ class access

    lukastaegert committed Jul 2, 2021
    Copy the full SHA
    6ce4ede View commit details
    Browse the repository at this point in the history
  5. Improve field name

    lukastaegert committed Jul 2, 2021
    Copy the full SHA
    35e0f6e View commit details
    Browse the repository at this point in the history
  6. Fix TDZ caching

    lukastaegert committed Jul 2, 2021
    Copy the full SHA
    b4b2c5b View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    7cbecfb View commit details
    Browse the repository at this point in the history
  8. Copy the full SHA
    b4494df View commit details
    Browse the repository at this point in the history
  9. Copy the full SHA
    22bdd56 View commit details
    Browse the repository at this point in the history
  10. Copy the full SHA
    487e227 View commit details
    Browse the repository at this point in the history
  11. Copy the full SHA
    1bca0a5 View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2021

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

Commits on Jul 6, 2021

  1. Copy the full SHA
    1313651 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    e09fcd3 View commit details
    Browse the repository at this point in the history
  3. Improve coverage

    lukastaegert committed Jul 6, 2021
    Copy the full SHA
    8069a36 View commit details
    Browse the repository at this point in the history