]> Cypherpunks repositories - gostls13.git/commit
test: add compiler regress tests for #46461
authorMatthew Dempsky <mdempsky@google.com>
Thu, 9 Sep 2021 18:17:39 +0000 (11:17 -0700)
committerMatthew Dempsky <mdempsky@google.com>
Thu, 9 Sep 2021 19:37:25 +0000 (19:37 +0000)
commitfb84e99eb76615f63fc2d6bc93c244a84d6e9c22
tree79d0ade36b6d269fe3e6a3c7bd3534f506f497b7
parentb9e1a24581b6282ee930a50bbe498d24ef77f486
test: add compiler regress tests for #46461

gri@ reports that types2 now correctly handles when type parameters
recursively refer back to the parameterized type, so we might as well
add tests to exercise that. Unified IR also correctly handles
importing and exporting these types, but -G=3 currently does not.

Updates #46461.

Change-Id: I272102aa08c40c980b9aeeca9f834291dfbbcc3e
Reviewed-on: https://go-review.googlesource.com/c/go/+/348738
Trust: Matthew Dempsky <mdempsky@google.com>
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Robert Griesemer <gri@golang.org>
src/go/internal/gcimporter/gcimporter_test.go
test/run.go
test/typeparam/issue46461.go [new file with mode: 0644]
test/typeparam/issue46461b.dir/a.go [new file with mode: 0644]
test/typeparam/issue46461b.dir/b.go [new file with mode: 0644]
test/typeparam/issue46461b.go [new file with mode: 0644]