aboutsummaryrefslogtreecommitdiff
path: root/src/syscall
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2019-09-16 14:34:02 -0700
committerRobert Griesemer <gri@golang.org>2019-09-17 23:16:18 +0000
commit04fb929a5b7991ed0945d05ab8015c1721958d82 (patch)
treebc01628d2345e3c9bd1e72c6a168df8b8897bf27 /src/syscall
parent5cc64141e738b008b62d0698cdbadf2b9aead72d (diff)
downloadgo-04fb929a5b7991ed0945d05ab8015c1721958d82.tar.xz
go/types: make sure interfaces are complete before comparing them
Complete interfaces before comparing them with Checker.identical. This requires passing through a *Checker to various functions that didn't need this before. Verified that none of the exported API entry points for interfaces that rely on completed interfaces are used internally except for Interface.Empty. Verified that interfaces are complete before calling Empty on them, and added a dynamic check in the exported functions. Unfortunately, this fix exposed another problem with an esoteric test case (#33656) which we need to reopen. Fixes #34151. Updates #33656. Change-Id: I4e14bae3df74a2c21b565c24fdd07135f22e11c0 Reviewed-on: https://go-review.googlesource.com/c/go/+/195837 Run-TryBot: Robert Griesemer <gri@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Diffstat (limited to 'src/syscall')
0 files changed, 0 insertions, 0 deletions