-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Fix crash in getAwaitedType #54107
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 crash in getAwaitedType #54107
Conversation
@typescript-bot test this |
Heya @jakebailey, I've started to run the diff-based top-repos suite on this PR at d7467bd. You can monitor the build here. Update: The results are in! |
Heya @jakebailey, I've started to run the diff-based user code test suite on this PR at d7467bd. You can monitor the build here. Update: The results are in! |
Heya @jakebailey, I've started to run the extended test suite on this PR at d7467bd. You can monitor the build here. |
@jakebailey Here are the results of running the user test suite comparing There were infrastructure failures potentially unrelated to your change:
Otherwise... Everything looks good! |
Well, the user deltas were supposed to show that the crash went away, but apparently the infra is totally skipping the test I added. I'll have to figure out why. |
FYI, I did verify that the crash repro'd with the added test before applying the fix. The test I added is the smallest fragment of https://github.com/tc39/test262/blob/main/test/language/expressions/async-generator/named-yield-star-async-next.js necessary to trigger the crash. |
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.
I sent microsoft/typescript-error-deltas#115 which hopefully will get test262
running, but LGTM.
@jakebailey Here are the results of running the top-repos suite comparing Everything looks good! |
@typescript-bot user test this |
Heya @jakebailey, I've started to run the diff-based user code test suite on this PR at d7467bd. You can monitor the build here. Update: The results are in! |
@jakebailey Here are the results of running the user test suite comparing There were infrastructure failures potentially unrelated to your change:
Otherwise... Everything looks good! |
third time's the charm @typescript-bot user test this |
Heya @jakebailey, I've started to run the diff-based user code test suite on this PR at d7467bd. You can monitor the build here. Update: The results are in! |
@jakebailey Here are the results of running the user test suite comparing There were infrastructure failures potentially unrelated to your change:
Otherwise... Everything looks good! |
Fixes a crash in
getAwaitedType
due to a missing diagnostic message.Fixes #53145