diff --git a/WORKSPACE b/WORKSPACE index 3a8730b7b9..fa16528073 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -97,7 +97,7 @@ go_download_sdk( # analysis. Without this fix, the nogo rules will often fail to run in # time on our continuous integration. patch = "//tools:go_types_memoize.patch", - patch_strip = 2, + patch_strip = 1, version = "1.23.2", ) diff --git a/tools/go_types_memoize.patch b/tools/go_types_memoize.patch index 306788b791..b8b809a769 100644 --- a/tools/go_types_memoize.patch +++ b/tools/go_types_memoize.patch @@ -1,7 +1,7 @@ -diff --git a/go/src/go/types/scope.go b/src/go/types/scope.go +diff --git a/src/go/types/scope.go b/src/go/types/scope.go index 010727eb72..0f134b872e 100644 ---- a/go/src/go/types/scope.go -+++ b/go/src/go/types/scope.go +--- a/src/go/types/scope.go ++++ b/src/go/types/scope.go @@ -25,6 +25,7 @@ type Scope struct { children []*Scope number int // parent.children[number-1] is this scope; 0 if there is no parent