Repository navigation
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? |
|
MikaelMayer
left a comment
There was a problem hiding this comment.
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.
This is surprising. How does that work?
There was a problem hiding this comment.
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.
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.