Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

types2: add a test case for imported constraint types into a pre-1.18 package #47967

griesemer opened this issue Aug 25, 2021 · 0 comments


Copy link

@griesemer griesemer commented Aug 25, 2021

This is a reminder issue to add some test cases of uses of imported constraint types in a pre-1.18 package.
We already have a test file (cmd/compile/internal/types2/testdata/fixedbugs/issue47818.go2) that just needs to be extended.

We should do this once we have a constraints package checked in; then we can just import that package. (Right now the test harness for types2 doesn't easily allow this.)

For instance, once #45458 is implemented, this issued could be addressed trivially.

@griesemer griesemer added this to the Go1.18 milestone Aug 25, 2021
@griesemer griesemer self-assigned this Aug 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant