Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/lsp/source/completion: avoid invalid AST in enclosingSignature
Guard against the panic in golang/go#49397, though it should not be possible with well-formed AST. Updates golang/go#49397 Change-Id: I3428504a4cfd361c1f51316d8c9aeee4aa9d7f42 Reviewed-on: https://go-review.googlesource.com/c/tools/+/364675 Trust: Robert Findley <[email protected]> Run-TryBot: Robert Findley <[email protected]> Reviewed-by: Hyang-Ah Hana Kim <[email protected]> gopls-CI: kokoro <[email protected]> TryBot-Result: Go Bot <[email protected]>
- Loading branch information