No Counterexample states generated when using the attribute {:isolate_assertions}
#5806
Labels
kind: bug
Crashes, unsoundness, incorrect output, etc. If possible, add a `part:` label
misc: brittleness
When Dafny sometimes proves something, and sometimes doesn't
part: verifier
Translation from Dafny to Boogie (translator)
priority: next
Will consider working on this after in progress work is done
Dafny version
4.8.1
Code to produce this issue
Command to run and resulting output
What happened?
The example has two methods with failing assertions and uses dafny's flag
--extract-counterexample
for verification.Dafny behaves as expected for method
F
and generates a counterexample withassume x == 1
.This line is missing in the output for method
F1
, which is identical toF
, but is annotated with the{:isolated_assertions}
attribute.Discussed with @RustanLeino in-person a few weeks ago.
What type of operating system are you experiencing the problem on?
Mac
The text was updated successfully, but these errors were encountered: