]> Cypherpunks repositories - gostls13.git/commit
go/types: make sure we are safe for nil in underIs
authorRobert Griesemer <gri@golang.org>
Wed, 17 Nov 2021 01:51:58 +0000 (17:51 -0800)
committerRobert Griesemer <gri@golang.org>
Wed, 17 Nov 2021 04:32:11 +0000 (04:32 +0000)
commit03dd049d6efcbca6b829d7ed504ceea6318f2036
tree25cbce2e7820dad20577ae6193e87af9a4b2992f
parent3c00a2839a8b577912f78d5fe1ba2d765d0f6c7c
go/types: make sure we are safe for nil in underIs

This CL is a clean port CL 363658 from types2 to go/types.

Change-Id: Ie2032f85a9cfca62161c2e629c78f1ecd8c6e4c0
Reviewed-on: https://go-review.googlesource.com/c/go/+/364537
Trust: Robert Griesemer <gri@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
src/go/types/expr.go
src/go/types/predicates.go
src/go/types/type.go