-
Notifications
You must be signed in to change notification settings - Fork 13k
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptCrashFor flagging bugs which are compiler or service crashes or unclean exits, rather than bad outputFor flagging bugs which are compiler or service crashes or unclean exits, rather than bad outputFix AvailableA PR has been opened for this issueA PR has been opened for this issue
Milestone
Description
Bug Report
π Search Terms
Debug Failure
π Version & Regression Information
- This is a crash
- This changed between versions 4.3.5 and 4.4.2
β― Playground Link
Playground link with relevant code 4.4.2
Playground link with relevant code 4.3.5
π» Code
export type 404 = {
foo: string;
}
π Actual behavior
Error: Debug Failure.
at .\node_modules\typescript\lib\tsc.js:15216:89
at String.replace (<anonymous>)
at formatStringFromArgs (.\node_modules\typescript\lib\tsc.js:15216:21)
at Object.createDetachedDiagnostic (.\node_modules\typescript\lib\tsc.js:15231:20)
at parseErrorAtPosition (.\node_modules\typescript\lib\tsc.js:24749:42)
at parseErrorAt (.\node_modules\typescript\lib\tsc.js:24754:13)
at parseErrorAtCurrentToken (.\node_modules\typescript\lib\tsc.js:24744:13)
at parseErrorForInvalidName (.\node_modules\typescript\lib\tsc.js:24922:17)
at parseErrorForMissingSemicolonAfter (.\node_modules\typescript\lib\tsc.js:24904:21)
at parseExpressionOrLabeledStatement (.\node_modules\typescript\lib\tsc.js:27986:21)
π Expected behavior
Compilation error
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptCrashFor flagging bugs which are compiler or service crashes or unclean exits, rather than bad outputFor flagging bugs which are compiler or service crashes or unclean exits, rather than bad outputFix AvailableA PR has been opened for this issueA PR has been opened for this issue