Skip to content

Conversation

@asl
Copy link
Contributor

@asl asl commented Jun 16, 2025

StructExpression entries are NamedExpressions, so we might peel to underlying expression to recurse further.

@asl asl requested a review from fruffy June 16, 2025 21:54
@asl asl changed the title Fix copy & paste typo in flattenStructExpression: Fix copy & paste typo in flattenStructExpression Jun 16, 2025
@asl
Copy link
Contributor Author

asl commented Jun 16, 2025

No simple testcase, we need to have something like header stack inside a struct to trigger the execution.

…tries are

NamedExpressions, so we might peel to underlying expression to
recurse further.

Signed-off-by: Anton Korobeynikov <[email protected]>
@asl asl enabled auto-merge June 16, 2025 23:01
@asl asl added this pull request to the merge queue Jun 17, 2025
@asl asl removed this pull request from the merge queue due to a manual request Jun 17, 2025
@asl
Copy link
Contributor Author

asl commented Jun 17, 2025

Looks like this "fixed" one of testgen tests :)

@asl
Copy link
Contributor Author

asl commented Jun 17, 2025

@fruffy looks like this fixed couple of testgen xfails. Will you please take a look?

Signed-off-by: Anton Korobeynikov <[email protected]>
@fruffy
Copy link
Collaborator

fruffy commented Jun 17, 2025

Looks like this "fixed" one of testgen tests :)

It does, at least on the P4Testgen side. Great! The BMv2 tests are still failing because of compilation issues. I would just update the xfails there.

@asl asl added this pull request to the merge queue Jun 17, 2025
Merged via the queue into p4lang:main with commit 46e456c Jun 17, 2025
20 checks passed
@asl asl deleted the default-typo branch June 17, 2025 17:15
@fruffy fruffy added the core Topics concerning the core segments of the compiler (frontend, midend, parser) label Jun 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Topics concerning the core segments of the compiler (frontend, midend, parser)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants