]> Cypherpunks repositories - gostls13.git/commit
go/types: factor out slice elem computation for copy built-in
authorRobert Findley <rfindley@google.com>
Wed, 27 Oct 2021 16:17:21 +0000 (12:17 -0400)
committerRobert Findley <rfindley@google.com>
Thu, 28 Oct 2021 16:08:36 +0000 (16:08 +0000)
commit6f0185bf38a679f468b6a4209f15188a11662eb5
tree1289572cd81054f4e3f653da74fb13806506fc12
parent61536ec03063b4951163bd09609c86d82631fa27
go/types: factor out slice elem computation for copy built-in

This is a port of CL 357413 to go/types. Some test constraints are also
updated to remove 'interface', to coincide with the corresponding test
data file in types2.

Change-Id: I5248190501c2e4381eb7625f8d4fb269301d6e16
Reviewed-on: https://go-review.googlesource.com/c/go/+/359138
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/testdata/check/builtins.go2