]> Cypherpunks repositories - gostls13.git/commit
cmd/compile/internal/types2: make built-in to accept type sets with single underlying...
authorRobert Griesemer <gri@golang.org>
Thu, 21 Oct 2021 20:29:00 +0000 (13:29 -0700)
committerRobert Griesemer <gri@golang.org>
Sat, 23 Oct 2021 16:18:04 +0000 (16:18 +0000)
commit2d205ebb96460b500480d144b99d2d5f5d4c06ed
tree1278acc243c089fee57dc841e944aac679f5df78
parent3cd28baffd2c97d53cbc703a8787365e68050466
cmd/compile/internal/types2: make built-in to accept type sets with single underlying types

This generalizes make the same way copy was generalized and eliminates
a use of optype.

Change-Id: I8221abd53d77dde8ead47c0075c13fd2a3221642
Reviewed-on: https://go-review.googlesource.com/c/go/+/357776
Trust: Robert Griesemer <gri@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
src/cmd/compile/internal/types2/builtins.go
src/cmd/compile/internal/types2/testdata/check/builtins.go2