-
Notifications
You must be signed in to change notification settings - Fork 444
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
Inconsistent behavior with casts involving tuples / headers #529
Comments
jnfoster
changed the title
Inconsistent cast behavior with tuples / headers
Inconsistent behavior with casts involving tuples / headers
Apr 26, 2017
Some more examples:
|
What is bs? |
Sorry, just a pair of bools. |
Further, constant propagation seems inconsistent:
becomes
after the first constant folding pass. |
mihaibudiu
pushed a commit
to mihaibudiu/p4c-clone
that referenced
this issue
May 9, 2017
jnfoster
pushed a commit
that referenced
this issue
May 12, 2017
Closed by #593 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Compiling the following program
Produces an error:
It seems like these should all work...
In addition, reporting the tuple on line 28 as an error is wrong. It has nothing to do with the declaration involving h4.
The text was updated successfully, but these errors were encountered: