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

Remove useless grammar rule #3664

Merged
merged 2 commits into from
Nov 5, 2022
Merged

Remove useless grammar rule #3664

merged 2 commits into from
Nov 5, 2022

Conversation

mihaibudiu
Copy link
Contributor

Signed-off-by: Mihai Budiu [email protected]

Turns out that type declarations are restricted to base types, so the grammar rule that allows derived types is useless.
This could technically be a backwards-incompatible change. To be discussed by the LDWG together with p4lang/p4-spec#1044

Signed-off-by: Mihai Budiu <[email protected]>
@apinski-cavium
Copy link

In my front-end I didn't implement this part of the spec because of the spec I had raised
so +1 from me.

Signed-off-by: Mihai Budiu <[email protected]>
Copy link
Contributor

@jafingerhut jafingerhut left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks reasonable to me.

@jafingerhut jafingerhut merged commit b784ad1 into p4lang:main Nov 5, 2022
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.

3 participants