aboutsummaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2021-10-20 12:18:40 -0700
committerRobert Griesemer <gri@golang.org>2021-10-20 19:30:13 +0000
commit3ff39c5eda6aa869cbc3a19237750fa7cf495832 (patch)
tree8f528227f20bf117d65779bc91582817f80a44fa /src/runtime
parent4320949f36f5f523a08ce8da6bdcd35ef51b8941 (diff)
downloadgo-3ff39c5eda6aa869cbc3a19237750fa7cf495832.tar.xz
cmd/compile/internal/types2: use correct types when checking generic conversions
Iterate through the actual, possibly defined types of constraints when type-checking generic conversions, not the underlying types. For #47150. Change-Id: Ia7af313bf46d6f6b0ad5292ff793b030b8e2d3d8 Reviewed-on: https://go-review.googlesource.com/c/go/+/357333 Trust: Robert Griesemer <gri@golang.org> Run-TryBot: Robert Griesemer <gri@golang.org> Reviewed-by: Robert Findley <rfindley@google.com>
Diffstat (limited to 'src/runtime')
0 files changed, 0 insertions, 0 deletions