Closed
Description
We've noticed a number of recent gopls panics in which the leaf function in the backtrace doesn't appear to contain a fallible operation.
- x/tools/gopls: Hover: panic in lookup{ObjectByName,DocLinkSymbol} #69616
- x/tools/gopls: OOB index crash in completion.expectedReturnStmtType #70636
- x/tools/gopls: Hover: nil deref in parseDocLink #70635
- x/tools/gopls: nil Signature (?) deref in Completion #70634
- x/tools/gopls: stubmethods: "could not find the enclosing function of the return statement" bug in GetIfaceStubInfo #70666
I wonder whether the pclntab is incorrect in these cases.
Metadata
Metadata
Labels
Type
Projects
Status
Done