]> Cypherpunks repositories - gostls13.git/commit
cmd/compile/internal/types2: implement copy for generic argument types
authorRobert Griesemer <gri@golang.org>
Thu, 7 Oct 2021 01:23:06 +0000 (18:23 -0700)
committerRobert Griesemer <gri@golang.org>
Thu, 7 Oct 2021 02:30:47 +0000 (02:30 +0000)
commit39bbf08e7139d0e041b0633945a42d0621d2897e
tree2401c41f6294fbee99e3fffd4159fd1d58ba3375
parent812a33dc7df6a4f7b8b0bd2e6ea6500f312b3fed
cmd/compile/internal/types2: implement copy for generic argument types

For now, the underlying types of the the argument types' constraints
must be a single type that is a slice (the source operand may also
be a string).

Change-Id: I9e705e3349c9242f126b9c3e0af65e9ffb25fe6e
Reviewed-on: https://go-review.googlesource.com/c/go/+/354432
Trust: Robert Griesemer <gri@golang.org>
Run-TryBot: Robert Griesemer <gri@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/compile/internal/types2/builtins.go
src/cmd/compile/internal/types2/testdata/check/builtins.go2