]> Cypherpunks repositories - gostls13.git/commit
go/types, types2: union terms must be instantiated
authorRobert Griesemer <gri@golang.org>
Tue, 31 Aug 2021 01:07:54 +0000 (18:07 -0700)
committerRobert Griesemer <gri@golang.org>
Tue, 31 Aug 2021 16:20:54 +0000 (16:20 +0000)
commit605d1aaea26ef775369a3d1da6cf53f2a7b1e640
tree58def11a2a51973d49e6998c58bca343d5f79ccd
parentded10d75a908b584331d01c9c0eaf1cfcb951cac
go/types, types2: union terms must be instantiated

Fixes #48083.

Change-Id: I77899d3e6edc806dee770403b3c3c4e2974d0e50
Reviewed-on: https://go-review.googlesource.com/c/go/+/346293
Trust: Robert Griesemer <gri@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
src/cmd/compile/internal/types2/testdata/fixedbugs/issue48083.go2 [new file with mode: 0644]
src/cmd/compile/internal/types2/union.go
src/go/types/testdata/fixedbugs/issue48083.go2 [new file with mode: 0644]
src/go/types/union.go