From: Brad Fitzpatrick Date: Sat, 3 Oct 2015 16:35:40 +0000 (-0700) Subject: cmd/compile/internal/gc: fix the build X-Git-Tag: go1.6beta1~918 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=89a68e9f1adb939e5a58ed38cf6c03119c324480;p=gostls13.git 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 --- 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)