From 0dda7d614e545bb93966bb1410269b3cd1e65e1d Mon Sep 17 00:00:00 2001 From: Alan Donovan Date: Wed, 31 May 2023 18:05:46 -0400 Subject: [PATCH] go/pointer: remove replace directive This makes it so that 'go install golang.org/x/tools/go/pointer@latest' will continue to work. ('go install pkg@version' does not allow replace directives.) Updates golang/go#59676 Change-Id: I7dcb95a5730bd68d42a5873f9f9cec6bef773205 Reviewed-on: https://go-review.googlesource.com/c/tools/+/499756 gopls-CI: kokoro Run-TryBot: Alan Donovan Reviewed-by: Robert Findley TryBot-Result: Gopher Robot --- go/pointer/go.mod | 10 ++++------ go/pointer/go.sum | 2 ++ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/go/pointer/go.mod b/go/pointer/go.mod index f2d9be9262c..168aa253859 100644 --- a/go/pointer/go.mod +++ b/go/pointer/go.mod @@ -2,11 +2,9 @@ module golang.org/x/tools/go/pointer go 1.18 // tagx:compat 1.16 +require golang.org/x/sys v0.8.0 + require ( - golang.org/x/sys v0.8.0 - golang.org/x/tools v0.9.2 + golang.org/x/mod v0.10.0 // indirect + golang.org/x/tools v0.9.2-0.20230531220058-a260315e300a ) - -require golang.org/x/mod v0.10.0 // indirect - -replace golang.org/x/tools => ../../ diff --git a/go/pointer/go.sum b/go/pointer/go.sum index 7d386a87bf5..c7c351dba1d 100644 --- a/go/pointer/go.sum +++ b/go/pointer/go.sum @@ -3,3 +3,5 @@ golang.org/x/mod v0.10.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/sync v0.2.0 h1:PUR+T4wwASmuSTYdKjYHI5TD22Wy5ogLU5qZCOLxBrI= golang.org/x/sys v0.8.0 h1:EBmGv8NaZBZTWvrbjNoL6HVt+IVy3QDQpJs7VRIw3tU= golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/tools v0.9.2-0.20230531220058-a260315e300a h1:rym71QNKHeCt6OA9UbKSr3jmBnbRNACMDLX5zI18ZOk= +golang.org/x/tools v0.9.2-0.20230531220058-a260315e300a/go.mod h1:owI94Op576fPu3cIGQeHs3joujW/2Oc6MtlxbF5dfNc=