-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[import/named] fix destructuring assignemnt #1232
Conversation
1 similar comment
1 similar comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great!
(looks like tests are failing; you’ll need to update an 8 to a 10 somewhere) |
@ljharb , thanks! fixed. Actually on my local machine (Windows 10 and Ubuntu on Windows 10) I've many test failures even no change is made on master for The error log:
|
Since our appveyor tests are passing on windows, I’d expect it to be passing. Maybe you could file a separate issue about that? |
This PR fixes #718.
The fix is simple, just recognize the
AssignmentPattern
and put the name into the exports map.