From 89a68e9f1adb939e5a58ed38cf6c03119c324480 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Sat, 3 Oct 2015 09:35:40 -0700 Subject: [PATCH] cmd/compile/internal/gc: fix the build Commit acc90c5 passed the trybots, lingered for weeks, and in the meantime the type of this variable changed to a bool. I didn't rebase and re-run the trybots before submitting. Fixes #12832 Change-Id: If24fda227edd8207f8069c67f1c45f08e6ac215a Reviewed-on: https://go-review.googlesource.com/15286 Reviewed-by: Brad Fitzpatrick --- src/cmd/compile/internal/gc/subr.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd/compile/internal/gc/subr.go b/src/cmd/compile/internal/gc/subr.go index 3280710b22..df6b6f662e 100644 --- a/src/cmd/compile/internal/gc/subr.go +++ b/src/cmd/compile/internal/gc/subr.go @@ -2986,7 +2986,7 @@ func implements(t *Type, iface *Type, m **Type, samename **Type, ptr *int) bool var followptr bool var rcvr *Type for im := iface.Type; im != nil; im = im.Down { - if im.Broke == 1 { + if im.Broke { continue } imtype = methodfunc(im.Type, nil) -- 2.48.1