You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior:
My app builds successfully on TypeScript 3.7.5. I expect that upgrading to 3.8.2 does not break the build or at least crashes with a meaningful error.
Actual behavior:
Build crashes with:
C:\Code\kaliber5\tujspk-frontend\node_modules\typescript\lib\typescript.js:98632
throw e;
^
Error: Debug Failure.
at Object.assertDefined (C:\Code\kaliber5\tujspk-frontend\node_modules\typescript\lib\typescript.js:2227:24)
at C:\Code\kaliber5\tujspk-frontend\node_modules\typescript\lib\typescript.js:39435:34
at Object.filter (C:\Code\kaliber5\tujspk-frontend\node_modules\typescript\lib\typescript.js:513:31)
at serializeAsClass (C:\Code\kaliber5\tujspk-frontend\node_modules\typescript\lib\typescript.js:39433:48)
at serializeSymbolWorker (C:\Code\kaliber5\tujspk-frontend\node_modules\typescript\lib\typescript.js:39164:29)
at serializeSymbol (C:\Code\kaliber5\tujspk-frontend\node_modules\typescript\lib\typescript.js:39105:38)
at C:\Code\kaliber5\tujspk-frontend\node_modules\typescript\lib\typescript.js:39080:25
at Map.forEach (<anonymous>)
at visitSymbolTable (C:\Code\kaliber5\tujspk-frontend\node_modules\typescript\lib\typescript.js:39079:33)
at symbolTableToDeclarationStatements (C:\Code\kaliber5\tujspk-frontend\node_modules\typescript\lib\typescript.js:38950:17)
Related Issues:
There are numerous issues with Debug failure, but all of them have some additional error message such as:
Error: Debug Failure. in 'Object.assertDefined' during 'completionEntryDetails'
The failure seems to have appeared in the 20191228 dev build (everything works as expected in the previous release from 20191224). It looks like it has something to do with the type definitions from DT for @ember/component when used in a .js file with allowJs: true, but that's as far as I got. It also only happens in a watched build.
RyanCavanaugh
added
Bug
A bug in TypeScript
and removed
External
Relates to another program, environment, or user action which we cannot control.
labels
Mar 10, 2020
TypeScript Version: 3.8.2
Search Terms:
debug failure
.Code: nothing specific. Happens in an Ember app.
Expected behavior:
My app builds successfully on TypeScript 3.7.5. I expect that upgrading to 3.8.2 does not break the build or at least crashes with a meaningful error.
Actual behavior:
Build crashes with:
Related Issues:
There are numerous issues with
Debug failure
, but all of them have some additional error message such as:Mine doesn't. 😔
tsconfig.json:
The text was updated successfully, but these errors were encountered: