Skip to content

Commit d5d7d21

Browse files
dmitshurgopherbot
authored andcommitted
gopls/internal/cache: fix %q verb use with wrong type
Caught early by the improved vet check gated behind the 1.26 language version combined with a tiplang builder that tests with 1.26 language version. Fixes golang/go#76547. Change-Id: Ia23d5872f357e2ce97c22f38bca6114c04a42075 Cq-Include-Trybots: luci.golang.try:x_tools-gotip-linux-amd64-tiplang Reviewed-on: https://go-review.googlesource.com/c/tools/+/724403 Auto-Submit: Dmitri Shuralyov <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> Reviewed-by: Alan Donovan <[email protected]>
1 parent 92a0949 commit d5d7d21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gopls/internal/cache/check.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1323,7 +1323,7 @@ func (b *packageHandleBuilder) evaluatePackageHandle(ctx context.Context, n *han
13231323
dh := b.nodes[id]
13241324
if dh == nil {
13251325
// Previous code reported an error (not a bug) here.
1326-
bug.Reportf("missing reachable node for %q", id)
1326+
bug.Reportf("missing reachable node for %v", id)
13271327
} else {
13281328
reachableNodes = append(reachableNodes, dh)
13291329
}

0 commit comments

Comments
 (0)