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

Type of a unary expression is not always the same as the input type #3135

Merged
merged 1 commit into from
Mar 16, 2022

Conversation

mihaibudiu
Copy link
Contributor

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

This is the correct fix of the problem described in #3127. There isn't an attached test, but the problem fixed can be reproduced by invoking ./p4test --loopsUnroll ../testdata/p4_16_samples/default.p4, which causes the compiler to crash.

@mihaibudiu mihaibudiu merged commit db67037 into p4lang:main Mar 16, 2022
@mihaibudiu mihaibudiu deleted the interpreter-cast branch March 16, 2022 02:15
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.

2 participants