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

go/types, types2: improve API for setting type parameter constraints in importers #52104

Open
findleyr opened this issue Apr 1, 2022 · 0 comments
Labels
NeedsInvestigation
Milestone

Comments

@findleyr
Copy link
Contributor

@findleyr findleyr commented Apr 1, 2022

As we saw in #51219, the fact that SetConstraint eagerly computes the constraint type set makes the API awkward to use for importers.

We should investigate if this API restriction can be removed or improved.

CC @griesemer

@findleyr findleyr added this to the Go1.19 milestone Apr 1, 2022
@cherrymui cherrymui added the NeedsInvestigation label Apr 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NeedsInvestigation
Projects
None yet
Development

No branches or pull requests

2 participants