Missing checks for refinement of !new
and 00
#2064
Labels
during 3: execution of incorrect program
An bug in the verifier that allows Dafny to run a program that does not correctly implement its spec
introduced: pre-2012
kind: bug
Crashes, unsoundness, incorrect output, etc. If possible, add a `part:` label
priority: next
Will consider working on this after in progress work is done
Dafny accepts the following program:
The problem is that the resolver does not check that
!new
annotations are preserved by refinement. (At first I thought it was a special case of #1419, but in fact it's a separate issue.)The text was updated successfully, but these errors were encountered: