-
Notifications
You must be signed in to change notification settings - Fork 12.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
Fix checker initialization crash with esModuleInterop and global merges resolving to ImportEquals aliases #47348
Conversation
…esolving to ImportEquals aliases
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.
This is an appropriate change. Thank you for finding the repro!
Longer-term, I would like to think through something that makes us resilient to the sort of ordering sensitivity we experienced here. Maybe the test case is enough for now, but ideally we would have a way to enforce discipline to avoid pulling on types before symbol merging has finished. Maybe @ahejlsberg has thoughts on this.
@typescript-bot cherry-pick this to release-4.5 |
Heya @DanielRosenwasser, I've started to run the task to cherry-pick this into |
Hey @DanielRosenwasser, I've opened #47349 for you. |
Component commits: 755e1cb Add minimal failing test d52b9d3 Fix checker initialization crash with esModuleInterop global merges resolving to ImportEquals aliases Co-authored-by: Andrew Branch <[email protected]>
Fixes #47299