Skip to content

Fix crash in getAwaitedType - #54107

Merged
Ron Buckton (rbuckton) merged 1 commit into
mainfrom
fix-53145
May 3, 2023
Merged

Ron Buckton (rbuckton) merged 1 commit into
mainfrom
fix-53145

Conversation

@rbuckton

Copy link
Copy Markdown
Contributor

Fixes a crash in getAwaitedType due to a missing diagnostic message.

Fixes #53145

@jakebailey

Copy link
Copy Markdown
Member

@typescript-bot

TypeScript Bot (typescript-bot) commented May 2, 2023 •

Copy link
Copy Markdown
Contributor

Heya Jake Bailey (@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!

@typescript-bot

TypeScript Bot (typescript-bot) commented May 2, 2023 •

Copy link
Copy Markdown
Contributor

Heya Jake Bailey (@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!

@typescript-bot

TypeScript Bot (typescript-bot) commented May 2, 2023 •

Copy link
Copy Markdown
Contributor

Heya Jake Bailey (@jakebailey), I've started to run the extended test suite on this PR at d7467bd. You can monitor the build here.

@typescript-bot

Copy link
Copy Markdown
Contributor

Jake Bailey (@jakebailey) Here are the results of running the user test suite comparing main and refs/pull/54107/merge:

There were infrastructure failures potentially unrelated to your change:

  • 1 instance of "Package install failed"

Otherwise...

Everything looks good!

@jakebailey

Copy link
Copy Markdown
Member

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.

@rbuckton

Copy link
Copy Markdown
Contributor Author

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.

@jakebailey Jake Bailey (jakebailey) left a comment

Copy link
Copy Markdown
Member

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.

@typescript-bot

Copy link
Copy Markdown
Contributor

Jake Bailey (@jakebailey) Here are the results of running the top-repos suite comparing main and refs/pull/54107/merge:

Everything looks good!

@jakebailey

Copy link
Copy Markdown
Member

TypeScript Bot (@typescript-bot) user test this

@typescript-bot

TypeScript Bot (typescript-bot) commented May 2, 2023 •

Copy link
Copy Markdown
Contributor

Heya Jake Bailey (@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!

@typescript-bot

Copy link
Copy Markdown
Contributor

Jake Bailey (@jakebailey) Here are the results of running the user test suite comparing main and refs/pull/54107/merge:

There were infrastructure failures potentially unrelated to your change:

  • 1 instance of "Unknown failure"
  • 1 instance of "Package install failed"

Otherwise...

Everything looks good!

@jakebailey

Copy link
Copy Markdown
Member

third time's the charm

TypeScript Bot (@typescript-bot) user test this

@typescript-bot

TypeScript Bot (typescript-bot) commented May 2, 2023 •

Copy link
Copy Markdown
Contributor

Heya Jake Bailey (@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!

@typescript-bot

Copy link
Copy Markdown
Contributor

Jake Bailey (@jakebailey) Here are the results of running the user test suite comparing main and refs/pull/54107/merge:

There were infrastructure failures potentially unrelated to your change:

  • 1 instance of "Unknown failure"
  • 1 instance of "Package install failed"

Otherwise...

Everything looks good!

@rbuckton
Ron Buckton (rbuckton) merged commit f9a7cbf into main May 3, 2023
@rbuckton
Ron Buckton (rbuckton) deleted the fix-53145 branch May 3, 2023 19:40
@microsoft Microsoft (microsoft) locked as resolved and limited conversation to collaborators Oct 22, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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.

Debug assert in getAwaitedTypeNoAlias in test262 repo

4 participants