Skip to content

Commit

Permalink
cmd/compile/internal/gc: fix the build
Browse files Browse the repository at this point in the history
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 golang#12832

Change-Id: If24fda227edd8207f8069c67f1c45f08e6ac215a
Reviewed-on: https://go-review.googlesource.com/15286
Reviewed-by: Brad Fitzpatrick <[email protected]>
  • Loading branch information
bradfitz committed Oct 3, 2015
1 parent 2fd0164 commit 89a68e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd/compile/internal/gc/subr.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 89a68e9

Please sign in to comment.