]> Cypherpunks repositories - gostls13.git/commit
go/types, types2: fix unification code for defined types
authorRobert Griesemer <gri@golang.org>
Mon, 31 Jan 2022 20:51:45 +0000 (12:51 -0800)
committerRobert Griesemer <gri@golang.org>
Mon, 31 Jan 2022 23:15:54 +0000 (23:15 +0000)
commiteab9a77a60f5b6aaba978b61fbb260f2fbb307fb
treea2ff77de67a5d9cd4a591730f0dcffed078ca866
parentd3f5cf9d285d39258b2e6f9002c44aaab3e77c42
go/types, types2: fix unification code for defined types

Fixes #50929.

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