cuepls: minimal fix to make compilation work vs Go tip
The internal/golangorgx/... packages contain vendored (and modified)
versions of various (internal) packages from golang.org/x/tools,
golang.org/x/tools/gopls and golang.org/x/telemetry. As such, it's not
uncommon for things to break, because we are relying on internals.
Go tip has made a change as part of https://golang.org/issue/67182 that
causes us to break with respect to the originally vendored code. We make
a surgical update to the golang.org/x/telemetry to fix that break,
rather than trying to revendor all/part of the original package set
(which at this stage would be a lot of work).
Verified by running go test ./... with:
go version devel go1.23-1cb13ac7f6 Tue May 21 11:57:40 2024 +0000 linux/arm64
Signed-off-by: Paul Jolly <paul@myitcv.io>
Change-Id: I7554632f3b6d38fb73484602770ed28e681d4341
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1195010
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>