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 incorrect module resolution cache query #248

Merged
merged 1 commit into from
Jan 22, 2025

Conversation

andrewbranch
Copy link
Member

This ports microsoft/TypeScript#60910; race mode tests exhibit the issue based on order of cache entries. The added test case swaps the order of ResolveModuleName calls so the same failure could be observed in non-race mode tests.

@andrewbranch andrewbranch changed the title Fix module resolution cache race Fix incorrect module resolution cache query Jan 22, 2025
@andrewbranch andrewbranch enabled auto-merge (squash) January 22, 2025 19:42
@andrewbranch andrewbranch merged commit d72abad into microsoft:main Jan 22, 2025
14 checks passed
@andrewbranch andrewbranch deleted the module-resolution-race branch January 22, 2025 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants