Skip to content

Debug failure in registerForUnusedIdentifiersCheck #22578

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

Closed
sheetalkamat opened this issue Mar 14, 2018 · 1 comment
Closed

Debug failure in registerForUnusedIdentifiersCheck #22578

sheetalkamat opened this issue Mar 14, 2018 · 1 comment
Labels
Bug A bug in TypeScript Fixed A PR has been merged for this issue

Comments

@sheetalkamat
Copy link
Member

Reporting from #21140 (comment)
Reported by @aldendaniels

8:47:12 AM - Starting compilation in watch mode...


/Users/alden/Projects/krypton/node_modules/typescript/lib/tsc.js:61401
                throw e;
                ^

Error: Debug Failure. False expression: Deferring unused identifier check twice
    at registerForUnusedIdentifiersCheck (/Users/alden/Projects/krypton/node_modules/typescript/lib/tsc.js:36999:26)
    at checkFunctionOrMethodDeclaration (/Users/alden/Projects/krypton/node_modules/typescript/lib/tsc.js:36995:13)
    at checkMethodDeclaration (/Users/alden/Projects/krypton/node_modules/typescript/lib/tsc.js:36110:13)
    at checkSourceElement (/Users/alden/Projects/krypton/node_modules/typescript/lib/tsc.js:39110:28)
    at Object.forEach (/Users/alden/Projects/krypton/node_modules/typescript/lib/tsc.js:306:30)
    at checkClassExpressionDeferred (/Users/alden/Projects/krypton/node_modules/typescript/lib/tsc.js:38165:16)
    at checkDeferredNodes (/Users/alden/Projects/krypton/node_modules/typescript/lib/tsc.js:39293:25)
    at checkSourceFileWorker (/Users/alden/Projects/krypton/node_modules/typescript/lib/tsc.js:39317:17)
    at checkSourceFile (/Users/alden/Projects/krypton/node_modules/typescript/lib/tsc.js:39300:13)
    at getDiagnosticsWorker (/Users/alden/Projects/krypton/node_modules/typescript/lib/tsc.js:39355:17)
@ghost ghost self-assigned this Mar 14, 2018
@falsandtru
Copy link
Contributor

I saw this on almost all my projects.

@ghost ghost closed this as completed in #22604 Mar 15, 2018
@mhegazy mhegazy added this to the TypeScript 2.8.2 milestone Mar 28, 2018
@mhegazy mhegazy added Fixed A PR has been merged for this issue Bug A bug in TypeScript labels Mar 28, 2018
@mhegazy mhegazy modified the milestones: TypeScript 2.8.2, TypeScript 2.9 Mar 28, 2018
@microsoft microsoft locked and limited conversation to collaborators Jul 25, 2018
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug A bug in TypeScript Fixed A PR has been merged for this issue
Projects
None yet
Development

No branches or pull requests

3 participants