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 unification should always use the canonical type #3370

Merged
merged 2 commits into from
May 31, 2022

Conversation

mihaibudiu
Copy link
Contributor

No description provided.

Mihai Budiu added 2 commits May 27, 2022 15:11
Signed-off-by: Mihai Budiu <mbudiu@vmware.com>
Signed-off-by: Mihai Budiu <mbudiu@vmware.com>
@mihaibudiu
Copy link
Contributor Author

Fixes #3364

@mihaibudiu mihaibudiu requested a review from fruffy May 27, 2022 22:13
@@ -690,7 +690,6 @@ void EBPFTablePSA::emitKeysAndValues(CodeBuilder *builder,
CHECK_NULL(fieldName);
builder->emitIndent();
builder->appendFormat("%s.%s = ", keyName.c_str(), fieldName.c_str());
auto mtdecl = program->refMap->getDeclaration(keyElement->matchType->path, true);
Copy link
Contributor

Choose a reason for hiding this comment

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

This seems unrelated?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, it is a separate commit. Another unused variable.

@mihaibudiu mihaibudiu merged commit f4ca7ff into p4lang:main May 31, 2022
@mihaibudiu mihaibudiu deleted the issue3364 branch May 31, 2022 06:43
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