Param tests#2
Open
Dargones wants to merge 2 commits intoDargones:testFrameworkCSharpfrom
Open
Conversation
Dargones
pushed a commit
that referenced
this pull request
Sep 11, 2025
### What was changed? Change the error reporting related to refinement, so it behaves more like the existing reporting, and the IDE and CLI are now consistent in how they report refinement related diagnostics. In particular, the IDE can now jump to both the refining and refined symbol. Change #1: instead of `[<RefiningModuleName>]`, use a related location to report refinement related issues. ``` - Termination.dfy[TerminationRefinement1](441,5): Error: decreases clause might not decrease + Termination.dfy(441,5): Error: decreases clause might not decrease +Termination.dfy(446,7): Related location: refining module ``` Change #2: slighly changed the wording when overriding skeleton propositions: ``` Refinement.dfy(198,6): Error: assertion might not hold -Refinement.dfy[IncorrectConcrete](122,18): Related location: this proposition could not be proved +Refinement.dfy(122,18): Related location: refined proposition ``` ### How has this been tested? - Updated existing tests <small>By submitting this pull request, I confirm that my contribution is made under the terms of the [MIT license](https://github.com/dafny-lang/dafny/blob/master/LICENSE.txt).</small>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.