Skip to content

Remove incorrect assert that triggers crash on completions of globalThis #40278

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
Dec 2, 2020

Conversation

RyanCavanaugh
Copy link
Member

Fixes #39338

The assertion appears to simply be incorrect based on my reading, but I could be wrong here. The symbol that induces the crash is the globalThis symbol - the asserted invariant isn't true for it, and AFAICT shouldn't be.

@typescript-bot typescript-bot added Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels Aug 27, 2020
@RyanCavanaugh RyanCavanaugh requested a review from sandersn August 27, 2020 18:14
@RyanCavanaugh RyanCavanaugh merged commit 9a957e7 into microsoft:master Dec 2, 2020
@RyanCavanaugh RyanCavanaugh deleted the fix39338 branch December 2, 2020 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

TS Server fatal error: Debug Failure. False expression.
5 participants