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

Add missed resolveSymbol in commonjs import resolution #41479

Merged
merged 1 commit into from Nov 10, 2020

Commits on Nov 10, 2020

  1. Add missed resolveSymbol in commonjs import resolution

    Fixes resolution of export aliases in the postfix-property-access case
    of commonjs require:
    
    ```js
    const { x } = require('./foo').nested
    x
    ```
    
    This program would previously fail if `x` was an export alias.
    
    Fixes #41422
    sandersn committed Nov 10, 2020
    Copy the full SHA
    3da5578 View commit details
    Browse the repository at this point in the history