-
Notifications
You must be signed in to change notification settings - Fork 13.1k
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: LS: Auto-importDomain: LS: Completion ListsThe issue relates to showing completion lists in an editorThe issue relates to showing completion lists in an editorFix AvailableA PR has been opened for this issueA PR has been opened for this issue
Milestone
Description
// @filename: classes.ts
import { Component } from "./utils.js";
export class MyComponent extends Component {
render/**/
}
// @filename: utils.ts
export class Element {
// ...
}
export abstract class Component {
abstract render(): Element;
}// @filename: tsconfig.json
{
"compilerOptions": {
"target": "es2022",
"module": "nodenext",
"strict": true,
"outDir": "../out",
"moduleDetection": "force"
}
}- Request completions with auto-imports and class member completions at /**/
- Open up
utils.tsso that it is not just in the program, but is also an open file. - Erase a single character at the marker.
- Request completions.
Response received: completionInfo (32). Request took 54 ms. Success: false . Message: Error processing request. Debug Failure.
Error: Debug Failure.
at Object.addImportFromExportedSymbol (tsserver.js:141295:13)
at tsserver.js:147019:38
at Array.forEach (<anonymous>)
at importSymbols (tsserver.js:147019:11)
at createSignatureDeclarationFromSignature (tsserver.js:146653:9)
at outputMethod (tsserver.js:146541:20)
at Object.addNewNodeForMemberSymbol (tsserver.js:146523:9)
at getEntryForMemberCompletion (tsserver.js:148878:22)
at createCompletionEntry (tsserver.js:148775:64)
at getCompletionEntriesFromSymbols (tsserver.js:149316:19)
at completionInfoFromData (tsserver.js:148442:23)
at Object.getCompletionsAtPosition (tsserver.js:148264:24)
at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (tsserver.js:135381:35)
at IpcIOSession.getCompletions (tsserver.js:178887:54)
at completionInfo (tsserver.js:177298:43)
at tsserver.js:179651:69
at IpcIOSession.executeWithRequestId (tsserver.js:179643:14)
at IpcIOSession.executeCommand (tsserver.js:179651:29)
at IpcIOSession.onMessage (tsserver.js:179693:51)
at process.<anonymous> (tsserver.js:181261:14)
at process.emit (node:events:526:28)
at emit (node:internal/child_process:938:14)
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: LS: Auto-importDomain: LS: Completion ListsThe issue relates to showing completion lists in an editorThe issue relates to showing completion lists in an editorFix AvailableA PR has been opened for this issueA PR has been opened for this issue