This repository was archived by the owner on Oct 7, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
This repository was archived by the owner on Oct 7, 2025. It is now read-only.
Error: Debug Failure. False expression: #26
Copy link
Copy link
Open
Description
Hey, your library looks really cool and useful! However when I try to run it on any source file of my library it fails with the following error:
Error: Debug Failure. False expression:
at Object.assert (/Users/tom/code/runtypes/node_modules/typescript/lib/typescript.js:3259:23)
at checkElementTypeOfArrayOrString (/Users/tom/code/runtypes/node_modules/typescript/lib/typescript.js:41263:22)
at checkIteratedTypeOrElementType (/Users/tom/code/runtypes/node_modules/typescript/lib/typescript.js:41107:24)
at checkRightHandSideOfForOf (/Users/tom/code/runtypes/node_modules/typescript/lib/typescript.js:41097:20)
at getTypeForVariableLikeDeclaration (/Users/tom/code/runtypes/node_modules/typescript/lib/typescript.js:27680:24)
at getWidenedTypeForVariableLikeDeclaration (/Users/tom/code/runtypes/node_modules/typescript/lib/typescript.js:27851:24)
at getTypeOfVariableOrParameterOrProperty (/Users/tom/code/runtypes/node_modules/typescript/lib/typescript.js:27913:28)
at checkVariableLikeDeclaration (/Users/tom/code/runtypes/node_modules/typescript/lib/typescript.js:40875:41)
at checkVariableDeclaration (/Users/tom/code/runtypes/node_modules/typescript/lib/typescript.js:40931:20)
at checkForInOrForOfVariableDeclaration (/Users/tom/code/runtypes/node_modules/typescript/lib/typescript.js:41092:17)
at checkForOfStatement (/Users/tom/code/runtypes/node_modules/typescript/lib/typescript.js:41014:17)
at checkSourceElement (/Users/tom/code/runtypes/node_modules/typescript/lib/typescript.js:42693:28)
at Object.forEach (/Users/tom/code/runtypes/node_modules/typescript/lib/typescript.js:1398:30)
at checkBlock (/Users/tom/code/runtypes/node_modules/typescript/lib/typescript.js:40557:16)
at checkSourceElement (/Users/tom/code/runtypes/node_modules/typescript/lib/typescript.js:42677:28)
at checkFunctionExpressionOrObjectLiteralMethodDeferred (/Users/tom/code/runtypes/node_modules/typescript/lib/typescript.js:38107:21)
at checkDeferredNodes (/Users/tom/code/runtypes/node_modules/typescript/lib/typescript.js:42763:25)
at checkSourceFileWorker (/Users/tom/code/runtypes/node_modules/typescript/lib/typescript.js:42798:17)
at checkSourceFile (/Users/tom/code/runtypes/node_modules/typescript/lib/typescript.js:42777:13)
at getDiagnosticsWorker (/Users/tom/code/runtypes/node_modules/typescript/lib/typescript.js:42841:17)
at Object.getDiagnostics (/Users/tom/code/runtypes/node_modules/typescript/lib/typescript.js:42827:24)
at /Users/tom/code/runtypes/node_modules/typescript/lib/typescript.js:64374:97
at runWithCancellationToken (/Users/tom/code/runtypes/node_modules/typescript/lib/typescript.js:64347:24)
at getSemanticDiagnosticsForFile (/Users/tom/code/runtypes/node_modules/typescript/lib/typescript.js:64367:20)
at /Users/tom/code/runtypes/node_modules/typescript/lib/typescript.js:64314:45
at Object.forEach (/Users/tom/code/runtypes/node_modules/typescript/lib/typescript.js:1398:30)
at getDiagnosticsHelper (/Users/tom/code/runtypes/node_modules/typescript/lib/typescript.js:64310:16)
at Object.getSemanticDiagnostics (/Users/tom/code/runtypes/node_modules/typescript/lib/typescript.js:64322:20)
at Object.getPreEmitDiagnostics (/Users/tom/code/runtypes/node_modules/typescript/lib/typescript.js:63792:204)
at Object.<anonymous> (/Users/tom/code/runtypes/node_modules/typings-checker/dist/index.js:33:22)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.runMain (module.js:605:10)
at run (bootstrap_node.js:418:7)
at startup (bootstrap_node.js:139:9)
at bootstrap_node.js:533:3
Any ideas?
Metadata
Metadata
Assignees
Labels
No labels