Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gopls/internal/golang: Highlight: work around go/types bug
go/types sometimes fails to annotate type information onto nested composite literals when there is a type error (#69092). This CL adds a workaround to one particularly vulnerable place in gopls that crashes when this happens. (There are potentially many others.) + test Fixes golang/go#68918 Change-Id: I73e8e1dd8eb8965bde44d8ee3672a50ac362af52 Reviewed-on: https://go-review.googlesource.com/c/tools/+/612042 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Robert Findley <rfindley@google.com>
- Loading branch information