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

Harden combineProjectOutputForReferences against empty results #48978

Merged
merged 1 commit into from
May 5, 2022

Conversation

amcasey
Copy link
Member

@amcasey amcasey commented May 5, 2022

Getting an empty result doesn't seem expected, but a deeper fix doesn't make sense until #48619 is merged.

Fixes #48963

Getting an empty result doesn't seem expected, but a deeper fix doesn't make sense until microsoft#48619 is merged.

Fixes microsoft#48963
@amcasey amcasey requested a review from DanielRosenwasser May 5, 2022 18:14
@typescript-bot typescript-bot added Author: Team For Milestone Bug PRs that fix a bug with a specific milestone labels May 5, 2022
@DanielRosenwasser DanielRosenwasser merged commit 58114cf into microsoft:main May 5, 2022
@amcasey amcasey deleted the GH48963 branch May 5, 2022 21:17
amcasey added a commit to amcasey/TypeScript that referenced this pull request May 26, 2022
The old regression test didn't catch the corresponding bug in the new code because it hit the fast path where there's only a single project.
amcasey added a commit that referenced this pull request May 27, 2022
* Port #48978 forward to the revised FAR code

The old regression test didn't catch the corresponding bug in the new code because it hit the fast path where there's only a single project.

* Drop spurious non-null assertion
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Author: Team For Milestone Bug PRs that fix a bug with a specific milestone
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Find all references crash on literal with base constraint contextual type
3 participants