Comments (4)
Error: Debug Failure. False expression: Expected the specifier to be a default export
Req #2552 - completionInfo
at /typescript-5.4.5/lib/tsserver.js:135929:13
at firstDefined (/typescript-5.4.5/lib/tsserver.js:2385:20)
at getNameForExportDefault (/typescript-5.4.5/lib/tsserver.js:135924:33)
at getDefaultExportInfoWorker (/typescript-5.4.5/lib/tsserver.js:135909:16)
at getDefaultExportInfoWorker (/typescript-5.4.5/lib/tsserver.js:135915:14)
at getDefaultLikeExportInfo (/typescript-5.4.5/lib/tsserver.js:135891:16)
at /typescript-5.4.5/lib/tsserver.js:135850:29
at /typescript-5.4.5/lib/tsserver.js:135751:119
at forEachExternalModule (/typescript-5.4.5/lib/tsserver.js:135812:7)
at forEachExternalModuleToImportFrom (/typescript-5.4.5/lib/tsserver.js:135751:3)
at getExportInfoMap (/typescript-5.4.5/lib/tsserver.js:135839:5)
at collectAutoImports (/typescript-5.4.5/lib/tsserver.js:161383:24)
at getGlobalCompletions (/typescript-5.4.5/lib/tsserver.js:161318:5)
at tryGetGlobalSymbols (/typescript-5.4.5/lib/tsserver.js:161246:397)
at getCompletionData (/typescript-5.4.5/lib/tsserver.js:160994:10)
at Object.getCompletionsAtPosition (/typescript-5.4.5/lib/tsserver.js:158975:26)
at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.4.5/lib/tsserver.js:146550:35)
at IOSession.getCompletions (/typescript-5.4.5/lib/tsserver.js:186785:54)
at completionInfo (/typescript-5.4.5/lib/tsserver.js:185175:43)
at /typescript-5.4.5/lib/tsserver.js:187569:69
at IOSession.executeWithRequestId (/typescript-5.4.5/lib/tsserver.js:187561:14)
at IOSession.executeCommand (/typescript-5.4.5/lib/tsserver.js:187569:29)
at IOSession.onMessage (/typescript-5.4.5/lib/tsserver.js:187611:51)
at Interface.<anonymous> (/typescript-5.4.5/lib/tsserver.js:189196:14)
Repos no longer reporting the error
from typescript.
Error: Debug Failure. Expected declaration to have at least one class-like declaration
Req #1484 - definitionAndBoundSpan
at getConstructSignatureDefinition (/typescript-5.4.5/lib/tsserver.js:166491:68)
at getDefinitionFromSymbol (/typescript-5.4.5/lib/tsserver.js:166480:10)
at getDefinitionAtPosition (/typescript-5.4.5/lib/tsserver.js:166207:20)
at Object.getDefinitionAndBoundSpan (/typescript-5.4.5/lib/tsserver.js:166424:23)
at Object.getDefinitionAndBoundSpan2 [as getDefinitionAndBoundSpan] (/typescript-5.4.5/lib/tsserver.js:146653:38)
at IOSession.getDefinitionAndBoundSpan (/typescript-5.4.5/lib/tsserver.js:186032:73)
at definitionAndBoundSpan (/typescript-5.4.5/lib/tsserver.js:185019:43)
at /typescript-5.4.5/lib/tsserver.js:187569:69
at IOSession.executeWithRequestId (/typescript-5.4.5/lib/tsserver.js:187561:14)
at IOSession.executeCommand (/typescript-5.4.5/lib/tsserver.js:187569:29)
at IOSession.onMessage (/typescript-5.4.5/lib/tsserver.js:187611:51)
at Interface.<anonymous> (/typescript-5.4.5/lib/tsserver.js:189196:14)
Repos no longer reporting the error
from typescript.
Error: Debug Failure. False expression.
Req #4604 - completionInfo
at consumeTokenAndAdvanceScanner (/typescript-5.4.5/lib/tsserver.js:173529:13)
at processChildNode (/typescript-5.4.5/lib/tsserver.js:173438:9)
at /typescript-5.4.5/lib/tsserver.js:173377:9
at visitNode2 (/typescript-5.4.5/lib/tsserver.js:30479:18)
at forEachChildInPropertySignature (/typescript-5.4.5/lib/tsserver.js:30535:92)
at forEachChild (/typescript-5.4.5/lib/tsserver.js:30996:35)
at processNode (/typescript-5.4.5/lib/tsserver.js:173374:5)
at processChildNode (/typescript-5.4.5/lib/tsserver.js:173453:7)
at processChildNodes (/typescript-5.4.5/lib/tsserver.js:173496:32)
at /typescript-5.4.5/lib/tsserver.js:173390:9
at visitNodes (/typescript-5.4.5/lib/tsserver.js:30484:14)
at forEachChildInTypeLiteral (/typescript-5.4.5/lib/tsserver.js:30594:12)
at forEachChild (/typescript-5.4.5/lib/tsserver.js:30996:35)
at processNode (/typescript-5.4.5/lib/tsserver.js:173374:5)
at processChildNode (/typescript-5.4.5/lib/tsserver.js:173453:7)
at processChildNodes (/typescript-5.4.5/lib/tsserver.js:173496:32)
at /typescript-5.4.5/lib/tsserver.js:173390:9
at visitNodes (/typescript-5.4.5/lib/tsserver.js:30484:14)
at forEachChildInUnionOrIntersectionType (/typescript-5.4.5/lib/tsserver.js:30943:10)
at forEachChild (/typescript-5.4.5/lib/tsserver.js:30996:35)
at processNode (/typescript-5.4.5/lib/tsserver.js:173374:5)
at processChildNode (/typescript-5.4.5/lib/tsserver.js:173453:7)
at processChildNodes (/typescript-5.4.5/lib/tsserver.js:173496:32)
at /typescript-5.4.5/lib/tsserver.js:173390:9
at visitNodes (/typescript-5.4.5/lib/tsserver.js:30484:14)
at forEachChildInTypeReference (/typescript-5.4.5/lib/tsserver.js:30585:49)
at forEachChild (/typescript-5.4.5/lib/tsserver.js:30996:35)
at processNode (/typescript-5.4.5/lib/tsserver.js:173374:5)
at processChildNode (/typescript-5.4.5/lib/tsserver.js:173453:7)
at processChildNodes (/typescript-5.4.5/lib/tsserver.js:173496:32)
at /typescript-5.4.5/lib/tsserver.js:173390:9
at visitNodes (/typescript-5.4.5/lib/tsserver.js:30484:14)
at forEachChildInUnionOrIntersectionType (/typescript-5.4.5/lib/tsserver.js:30943:10)
at forEachChild (/typescript-5.4.5/lib/tsserver.js:30996:35)
at processNode (/typescript-5.4.5/lib/tsserver.js:173374:5)
at processChildNode (/typescript-5.4.5/lib/tsserver.js:173453:7)
at /typescript-5.4.5/lib/tsserver.js:173377:9
at visitNode2 (/typescript-5.4.5/lib/tsserver.js:30479:18)
at forEachChildInPropertySignature (/typescript-5.4.5/lib/tsserver.js:30535:134)
at forEachChild (/typescript-5.4.5/lib/tsserver.js:30996:35)
at processNode (/typescript-5.4.5/lib/tsserver.js:173374:5)
at processChildNode (/typescript-5.4.5/lib/tsserver.js:173453:7)
at processChildNodes (/typescript-5.4.5/lib/tsserver.js:173496:32)
at /typescript-5.4.5/lib/tsserver.js:173390:9
at visitNodes (/typescript-5.4.5/lib/tsserver.js:30484:14)
at forEachChildInTypeLiteral (/typescript-5.4.5/lib/tsserver.js:30594:12)
at forEachChild (/typescript-5.4.5/lib/tsserver.js:30996:35)
at processNode (/typescript-5.4.5/lib/tsserver.js:173374:5)
at processChildNode (/typescript-5.4.5/lib/tsserver.js:173453:7)
at /typescript-5.4.5/lib/tsserver.js:173377:9
at visitNode2 (/typescript-5.4.5/lib/tsserver.js:30479:18)
at forEachChildInParameter (/typescript-5.4.5/lib/tsserver.js:30529:177)
at forEachChild (/typescript-5.4.5/lib/tsserver.js:30996:35)
at processNode (/typescript-5.4.5/lib/tsserver.js:173374:5)
at processChildNode (/typescript-5.4.5/lib/tsserver.js:173453:7)
at processChildNodes (/typescript-5.4.5/lib/tsserver.js:173496:32)
at /typescript-5.4.5/lib/tsserver.js:173390:9
at visitNodes (/typescript-5.4.5/lib/tsserver.js:30484:14)
at forEachChildInMethodDeclaration (/typescript-5.4.5/lib/tsserver.js:30558:273)
at forEachChild (/typescript-5.4.5/lib/tsserver.js:30996:35)
at processNode (/typescript-5.4.5/lib/tsserver.js:173374:5)
at formatSpanWorker (/typescript-5.4.5/lib/tsserver.js:173176:5)
at /typescript-5.4.5/lib/tsserver.js:173116:105
at getFormattingScanner (/typescript-5.4.5/lib/tsserver.js:171919:15)
at Object.formatNodeGivenIndentation (/typescript-5.4.5/lib/tsserver.js:173116:10)
at /typescript-5.4.5/lib/tsserver.js:160210:36
at flatMap (/typescript-5.4.5/lib/tsserver.js:2609:17)
at Object.printAndFormatSnippetList (/typescript-5.4.5/lib/tsserver.js:160208:21)
at getEntryForMemberCompletion (/typescript-5.4.5/lib/tsserver.js:159971:28)
at createCompletionEntry (/typescript-5.4.5/lib/tsserver.js:159795:35)
at getCompletionEntriesFromSymbols (/typescript-5.4.5/lib/tsserver.js:160382:19)
at completionInfoFromData (/typescript-5.4.5/lib/tsserver.js:159451:23)
at Object.getCompletionsAtPosition (/typescript-5.4.5/lib/tsserver.js:158993:24)
at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.4.5/lib/tsserver.js:146550:35)
at IOSession.getCompletions (/typescript-5.4.5/lib/tsserver.js:186785:54)
at completionInfo (/typescript-5.4.5/lib/tsserver.js:185175:43)
at /typescript-5.4.5/lib/tsserver.js:187569:69
at IOSession.executeWithRequestId (/typescript-5.4.5/lib/tsserver.js:187561:14)
at IOSession.executeCommand (/typescript-5.4.5/lib/tsserver.js:187569:29)
at IOSession.onMessage (/typescript-5.4.5/lib/tsserver.js:187611:51)
at Interface.<anonymous> (/typescript-5.4.5/lib/tsserver.js:189196:14)
Repos no longer reporting the error
from typescript.
Pipeline failed. Closing this issue.
from typescript.
Related Issues (20)
- Incorrect report of `Signature '(): false' must be a type predicate` since TS 5.5 HOT 9
- RangeError: Maximum call stack size exceeded when building monaco (5.5.2) HOT 5
- Inconsistent predicate type after using a function (TS 5.5) HOT 4
- RangeError: Maximum call stack size in getTypeAtLocation in files importing in series with template literals HOT 5
- Expose TypeChecker.getAwaitedType for public api HOT 2
- `"module": "nodenext"` causes dynamic imports to be double default-wrapped - e.g. `{ default: { default: Foo } }`
- Mapped types over subclassed arrays behave strangely HOT 1
- feature request: expose `tsconfig.json` types in TypeScript files HOT 1
- Incorrect ES5 code emitted for closures in loops when noCheck is enabled HOT 6
- Iterator and AsyncIterator missing Symbol.dispose method in esnext.disposable HOT 1
- tsc compiler crash on complex project (with tons of tests) HOT 10
- Using @ts-expect-error on class method signature would disable checking all other methods in interface HOT 2
- Sometimes inlay hints disappear when Vue source code contains a special custom component. HOT 4
- When combining the same type, the specific type before combining is still provided HOT 1
- getSymbolAtLocation(node: Identifier) return undefined, in WatchCompilerHost, after change dependency source file HOT 2
- [Regression] Circular reference error when passing a class expression with non-primitive static properties to a generic function
- [NewErrors] 5.6.0-dev.20240714 vs 5.5.3 HOT 9
- [ServerErrors][JavaScript] 5.6.0-dev.20240714 vs 5.5.3 HOT 13
- [ServerErrors][TypeScript] 5.6.0-dev.20240714 vs 5.5.3 HOT 21
- spread operator infer to wrong type with method override and generic HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from typescript.