Feature request: identifying individual assertions in Dafny code #1625
Labels
kind: enhancement
Enhancements, feature requests, etc. These are NOT bugs, but ways we can improve Dafny
priority: not yet
Will reconsider working on this when we're looking for work
This feature request (which may need refining and/or substantial splitting up) depends on the following proposed definition.
Assertion: An individual boolean expression, derived from an element of Dafny code, which must be true for the program to be valid.
An explicit assert statement creates an assertion, but isn’t the only way:
0 <= i < |a|
assertionThese are the elements that ideally the IDE would provide UX for identifying and verifying individually in the future. A single line of Dafny code, or even a single token position, can create multiple assertions. This is similar to the way a single line of code can contain multiple potential breakpoints when debugging.
This is something of a blocker for providing good "profiling" feedback based on techniques like the proposed
/vcsSplitOnEveryAssert
Boogie feature (boogie-org/boogie#465), since a Dafny source location isn't enough to uniquely and clearly identify the source of a Boogie assertion.The text was updated successfully, but these errors were encountered: