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

coroc: support generics #125

Merged
merged 19 commits into from
Dec 15, 2023
Merged

coroc: support generics #125

merged 19 commits into from
Dec 15, 2023

Conversation

chriso
Copy link
Contributor

@chriso chriso commented Dec 13, 2023

This PR adds initial support for generics.

The guide at https://github.com/golang/proposal/blob/master/design/generics-implementation-dictionaries-go1.18.md has been helpful in understanding how the Go compiler implements generics (via a combination of stenciling and dictionaries).

Fixes #123.

@chriso chriso self-assigned this Dec 13, 2023
@chriso chriso mentioned this pull request Dec 14, 2023
@chriso chriso merged commit edd7b06 into main Dec 15, 2023
2 checks passed
@chriso chriso deleted the generics2 branch December 15, 2023 04:02
Pryz pushed a commit to dispatchrun/dispatch-go that referenced this pull request May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support functions with type parameters
2 participants