Closed
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)
Metadata
Metadata
Assignees
Labels
A bug in TypeScriptFor flagging bugs which are compiler or service crashes or unclean exits, rather than bad outputRelates to JSDoc parsing and type generatione.g. hover text, tool-tips, and tooltips.Relates to go-to-definition, find-all-references, highlighting/occurrences.Requires experience with the TypeScript codebase, but feasible. Harder than "Effort: Casual".A PR has been opened for this issueYou can do this