• Matthew Dempsky's avatar
    cmd/compile/internal/gc: handle recursive interfaces better · 07de3465
    Matthew Dempsky authored
    Previously, we handled recursive interfaces by deferring typechecking
    of interface methods, while eagerly expanding interface embeddings.
    
    This CL switches to eagerly evaluating interface methods, and
    deferring expanding interface embeddings to dowidth. This allows us to
    detect recursive interface embeddings with the same mechanism used for
    detecting recursive struct embeddings.
    
    Updates #16369.
    
    Change-Id: If4c0320058047f8a2d9b52b9a79de47eb9887f95
    Reviewed-on: https://go-review.googlesource.com/38391
    Run-TryBot: Matthew Dempsky <mdempsky@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarRobert Griesemer <gri@golang.org>
    07de3465
Name
Last commit
Last update
..
addr2line Loading commit data...
api Loading commit data...
asm Loading commit data...
cgo Loading commit data...
compile Loading commit data...
cover Loading commit data...
dist Loading commit data...
doc Loading commit data...
fix Loading commit data...
go Loading commit data...
gofmt Loading commit data...
internal Loading commit data...
link Loading commit data...
nm Loading commit data...
objdump Loading commit data...
pack Loading commit data...
pprof Loading commit data...
trace Loading commit data...
vendor Loading commit data...
vet Loading commit data...