-
Notifications
You must be signed in to change notification settings - Fork 17.7k
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: add Alias parameter methods #67143
Comments
Change https://go.dev/cl/583757 mentions this issue: |
These are the same methods that types.Named already has, so this seems fine. |
Based on the discussion above, this proposal seems like a likely accept. The proposal is #67143 (comment). |
No change in consensus, so accepted. 🎉 The proposal is #67143 (comment). |
For the purposes of generic Alias types we propose the following additional API.
As with other generic types, instances are created with types.Instantiate.
These methods match the corresponding methods for Named types.
The text was updated successfully, but these errors were encountered: