-
Notifications
You must be signed in to change notification settings - Fork 271
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
Remove usage of opaque from standard library #5781
Remove usage of opaque from standard library #5781
Conversation
I would expect to remove this attribute only when the new resolver works on all the existing Dafny files in our codebase, is that your plan too? |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What a huge simplification effort ! If it passes, I'm all in.
assert wr.Bytes() == writer.Bytes() + Spec.Bracketed(obj, Spec.Member); | ||
|
||
assert wr.Bytes() == writer.Bytes() + Spec.Bracketed(obj, Spec.Member) by { | ||
hide *; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is surprising. How does that work?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure. I don't see how the proof is possible without the body of Spec.Bracketed being visible, although I might have missed something. It might be good to understand this first. I'll work on a feature that will show what is hidden/revealed when using *
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Investigating this, I found a bug that prevented this hide *
from having any effect. I resolved that bug and then I had to remove this hide *
for it to still verify
Description
How has this been tested?
By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.