]> Cypherpunks repositories - gostls13.git/commit
go/types: clarify is/underIs semantics and implementation
authorRobert Findley <rfindley@google.com>
Mon, 1 Nov 2021 19:03:53 +0000 (15:03 -0400)
committerRobert Findley <rfindley@google.com>
Tue, 2 Nov 2021 17:01:01 +0000 (17:01 +0000)
commitaf8aafd570bca4f78b434e7633bf33b6e186931c
treef37fed0252cd26d57d2c868090850c49757e8fe0
parentc406380fa984d14a1f104fd2502d832565b45eb2
go/types: clarify is/underIs semantics and implementation

This is a port of CL 358594 to go/types. Some code in conversions.go had
to be trivially reorganized to align with types2 -- I'm not sure how
go/types diverged from the base.

Change-Id: I40ce247bbb3b9d0e87ce88c50e440c12774c0745
Reviewed-on: https://go-review.googlesource.com/c/go/+/360475
Trust: Robert Findley <rfindley@google.com>
Run-TryBot: Robert Findley <rfindley@google.com>
Reviewed-by: Robert Griesemer <gri@golang.org>
src/go/types/builtins.go
src/go/types/conversions.go
src/go/types/expr.go
src/go/types/infer.go
src/go/types/operand.go
src/go/types/typeparam.go
src/go/types/typeset.go