-
Notifications
You must be signed in to change notification settings - Fork 13.3k
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 outputDomain: JSDocRelates to JSDoc parsing and type generationRelates to JSDoc parsing and type generationDomain: LS: Quick Infoe.g. hover text, tool-tips, and tooltips.e.g. hover text, tool-tips, and tooltips.Domain: LS: Symbol NavigationRelates to go-to-definition, find-all-references, highlighting/occurrences.Relates to go-to-definition, find-all-references, highlighting/occurrences.Effort: ModerateRequires experience with the TypeScript codebase, but feasible. Harder than "Effort: Casual".Requires experience with the TypeScript codebase, but feasible. Harder than "Effort: Casual".Fix AvailableA PR has been opened for this issueA PR has been opened for this issueHelp WantedYou can do thisYou can do this
Milestone
Description
Likely introduced by #46719
var FooA: any;
class DerivedA extends FooA {
static /*1*/value() {
return undefined;
}
}
function FooB() {
}
class DerivedB extends FooB {
static /*2*/value() {
return undefined;
}
}
class DerivedC extends UNRESOLVED_VALUE_DEFINITELY_DOES_NOT_EXIST {
static /*3*/value() {
return undefined;
}
}Request quick info at each marker.
Cannot read property 'flags' of undefined
at getSymbolLinks (tsserverlibrary.js:49303:24)
at getExportsOfModule (tsserverlibrary.js:51426:25)
at getExportsOfModuleAsArray (tsserverlibrary.js:51365:35)
at <anonymous> (tsserverlibrary.js:164437:35)
at firstDefined (tsserverlibrary.js:407:26)
at findBaseOfDeclaration (tsserverlibrary.js:164434:19)
at _loop_23 (tsserverlibrary.js:164408:37)
at getDocumentationComment (tsserverlibrary.js:164423:17)
at SignatureObject.getDocumentationComment (tsserverlibrary.js:164358:78)
at addSignatureDisplayParts (tsserverlibrary.js:145570:43)
Reactions are currently unavailable
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 outputDomain: JSDocRelates to JSDoc parsing and type generationRelates to JSDoc parsing and type generationDomain: LS: Quick Infoe.g. hover text, tool-tips, and tooltips.e.g. hover text, tool-tips, and tooltips.Domain: LS: Symbol NavigationRelates to go-to-definition, find-all-references, highlighting/occurrences.Relates to go-to-definition, find-all-references, highlighting/occurrences.Effort: ModerateRequires experience with the TypeScript codebase, but feasible. Harder than "Effort: Casual".Requires experience with the TypeScript codebase, but feasible. Harder than "Effort: Casual".Fix AvailableA PR has been opened for this issueA PR has been opened for this issueHelp WantedYou can do thisYou can do this