For #46794
Change-Id: I19edc19640a2dfa6bc7504dd8e1742a261ba29f1
Reviewed-on: https://go-review.googlesource.com/c/go/+/393368
Trust: Robert Findley <rfindley@google.com>
Run-TryBot: Robert Findley <rfindley@google.com>
Reviewed-by: Robert Griesemer <gri@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
}
func (t *Named) cleanup() {
+ assert(t.orig.orig == t.orig)
// Ensure that every defined type created in the course of type-checking has
// either non-*Named underlying, or is unresolved.
//
}
func (t *Named) cleanup() {
+ assert(t.orig.orig == t.orig)
// Ensure that every defined type created in the course of type-checking has
// either non-*Named underlying, or is unresolved.
//