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

Search for uninterpreted names in both Cryptol and SAWCore naming environments #1657

Merged
merged 4 commits into from
May 11, 2022

Conversation

chameco
Copy link
Contributor

@chameco chameco commented May 5, 2022

Presently, specifying an uninterpreted name somewhat unintuitively searches first in the Cryptol environment and then in the SAWCore environment if the first search fails. This allows Cryptol names to "shadow" SAWCore names. This PR changes this scheme to search both environments, treating all names found as uninterpreted.

(This new approach is still far from ideal. We should consider adding more ways to precisely specify uninterpreted names, especially considering the new URI-based model for SAWCore names.)

@chameco chameco requested a review from andreistefanescu May 6, 2022 18:12
@RyanGlScott
Copy link
Contributor

Does this fix a particular bug? If so, can a test case be added?

Also, does this patch change the warning observed in #1376?

@chameco
Copy link
Contributor Author

chameco commented May 9, 2022

I think this may actually fix the particular problem encountered in #1112, so I'll poke around and see if I can use that example as a test case. I don't suspect this will interact with #1376, but I'll try that out too.

Copy link
Contributor

@andreistefanescu andreistefanescu left a comment

Choose a reason for hiding this comment

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

👍

@chameco
Copy link
Contributor Author

chameco commented May 10, 2022

It looks like this does address the issue described in #1112.

@chameco chameco added the PR: ready to merge Magic flag for pull requests to ask Mergify to merge given an approval and a successful CI run label May 11, 2022
@mergify mergify bot merged commit 2e66b63 into master May 11, 2022
@mergify mergify bot deleted the sb/unint-all branch May 11, 2022 18:59
@chameco
Copy link
Contributor Author

chameco commented May 21, 2022

@robdockins That's definitely unintentional - I'll take a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: ready to merge Magic flag for pull requests to ask Mergify to merge given an approval and a successful CI run
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants