You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gopls/internal/mcp: fix panic in symbolReferencesHandler on nil types.Object
resolveSymbol might be nil for unresolved names or members, which
caused ObjectLocation to panic. Added proper nil checks and returned
an error instead of nil to prevent crashes.
Fixesgolang/go#74904
Change-Id: I85e5584a2fb8f61baf03e9057089ab8818d07ab4
Reviewed-on: https://go-review.googlesource.com/c/tools/+/697315
Reviewed-by: Robert Findley <rfindley@google.com>
Auto-Submit: Robert Findley <rfindley@google.com>
Reviewed-by: Hongxiang Jiang <hxjiang@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
0 commit comments