]> Cypherpunks repositories - gostls13.git/commit
go/types: rename isX predicates to allX, add simple is_X (step 1 of 2)
authorRobert Findley <rfindley@google.com>
Mon, 8 Nov 2021 18:09:41 +0000 (13:09 -0500)
committerRobert Findley <rfindley@google.com>
Tue, 9 Nov 2021 16:20:19 +0000 (16:20 +0000)
commite90fd9a597c03b993f900e4b1997de67b12bb4f3
tree53b0382bff779a6b4bff19e3f505a2e2bed3a3f2
parent2559a98a3cda46084cbdd3ea49217fdc8074ce7a
go/types: rename isX predicates to allX, add simple is_X (step 1 of 2)

This is a port of CL 360955 to go/types. Note that go/types and types2
differ in handling of untyped nil within both Checker.shift and
Checker.implicitTypeAndValue.

A missing comment was added to Checker.indexExpr.

Change-Id: Ia9149ff9c0af68213c579090902ab7989828ddd2
Reviewed-on: https://go-review.googlesource.com/c/go/+/362534
Trust: Robert Findley <rfindley@google.com>
Run-TryBot: Robert Findley <rfindley@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Robert Griesemer <gri@golang.org>
src/go/types/builtins.go
src/go/types/check.go
src/go/types/conversions.go
src/go/types/expr.go
src/go/types/index.go
src/go/types/predicates.go
src/go/types/sizes.go
src/go/types/stmt.go
src/go/types/typexpr.go