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

typedef with generic types should require type arguments #1045

Closed
apinski-cavium opened this issue Apr 4, 2022 · 0 comments · Fixed by #1076
Closed

typedef with generic types should require type arguments #1045

apinski-cavium opened this issue Apr 4, 2022 · 0 comments · Fixed by #1076
Labels

Comments

@apinski-cavium
Copy link
Contributor

I think this is a specification issue even though the specification is not clear and the reference compiler currently accepts it (p4lang/p4c#3174 fixes that).
Either way it is decided, the specifications should add a setence or two about generic types if it is just a rename of the generic type and then allow that or mention that it requires type arguments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants