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

header stacks of an header union #1105

Closed
apinski-cavium opened this issue May 22, 2022 · 2 comments
Closed

header stacks of an header union #1105

apinski-cavium opened this issue May 22, 2022 · 2 comments

Comments

@apinski-cavium
Copy link
Contributor

I noticed that p4c accepts header stacks of header unions (via the testcase in p4lang/p4c#3342) even though the specification seems to imply they are not valid.

The current language in the specifications is:

where `typeName` is the name of a header type.

It would be nice if or header union type was added there.

@apinski-cavium
Copy link
Contributor Author

p4lang/p4c#3121

@apinski-cavium
Copy link
Contributor Author

Dup of issue #876 in the end.

This was referenced Mar 6, 2023
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

No branches or pull requests

1 participant