Dafny 4.8.0 #5732
MikaelMayer
announced in
Announcements
Dafny 4.8.0
#5732
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
New features
Introduce
hidestatements that enable hiding the body of a function at a particular proof location, which allows simplifying the verification of that proof in case the body of the function is not needed for the proof.Hidestatements make the opaque keyword on functions obsolete. Requires--type-system-refresh(Hide statements #5562)Let the command
measure-complexityoutput which verification tasks performed the worst in terms of resource count. Output looks like:(Let
measure-complexityoutput the worst performing verification tasks by resource count #5631)Enable the option
--enforce-determinismfor the commandsresolveandverify(Enable the option enforce determinism for the verify command #5632)Method calls get an optional by-proof that hides the precondtion and its proof (feat: Method calls with a by-proof #5662)
Bug fixes
Clarify error location of inlined
ispredicates. (fix: Clarify error location of inlinedispredicates #5587)Optimize the compilation of single-LHS assignment statements to allow the RHS to be a deeply nested expression. This solves a problem in compiling to Java, since
javacdoes not deal gracefully with nested lambda expressions. (Optimize compilation of functional-looking assignment RHSs #5589)Crash when compiling an empty source file while including testing code (fix: Crash when compiling an empty source file while including testing code #5638)
Let the options
--print-mode=NoGhostOrIncludesand--print-mode=NoIncludeswork (Use a DafnyProject instead of a root file for printing #5645)Verification in the IDE now works correctly when declaring nested module in a different file than their parent. (parent modules break verification when included through project files #5650)
Fix NRE that would occur when using --legacy-data-constructors (Fix NRE and add test #5655)
This discussion was created from the release Dafny 4.8.0.
Beta Was this translation helpful? Give feedback.
All reactions