Skip to content

Fix the semantic diagnostics caching in builder to handle conversion from relative to buildInfo to absolute path #33168

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

Merged
merged 1 commit into from
Aug 30, 2019

Conversation

sheetalkamat
Copy link
Member

Semantic diagnostics cache key was not converted to absolute path from the read builder program resulting in not caching diagnostics at all.
Did not come as part of unittests because the errors are reported correctly which is what we were verifying. Added test to verify the state now.
Fixes #33161

…from relative to buildInfo to absolute path

Fixes #33161
@sheetalkamat sheetalkamat merged commit 5ea4257 into master Aug 30, 2019
@sheetalkamat sheetalkamat deleted the semanticDiagnostic branch August 30, 2019 22:44
@sheetalkamat
Copy link
Member Author

@typescript-bot cherry-pick this to release-3.6

typescript-bot pushed a commit to typescript-bot/TypeScript that referenced this pull request Aug 30, 2019
Component commits:
078ef7f Fix the semantic diagnostics caching in builder to handle conversion from relative to buildInfo to absolute path Fixes microsoft#33161
@typescript-bot
Copy link
Collaborator

Hey @sheetalkamat, I've opened #33169 for you.

sheetalkamat pushed a commit that referenced this pull request Aug 30, 2019
Component commits:
078ef7f Fix the semantic diagnostics caching in builder to handle conversion from relative to buildInfo to absolute path Fixes #33161
timsuchanek pushed a commit to timsuchanek/TypeScript that referenced this pull request Sep 11, 2019
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.

3.6 regression: composite project build time is slower than in 3.5.3
3 participants