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.
Created by
brew bump
Created with
brew bump-formula-pr
.release notes
Add support for the Find References LSP request
(Support the "Find references" LSP request dafny-lang/dafny#2320)
Improve scalability of inlining for test generation and generate coverage information with respect to the original Dafny source (Inlining overhaul for test generation dafny-lang/dafny#4255)
Support generating of tests targeting path-coverage of the entire program and tests targeting call-graph-sensitive block coverage (referred to as Branch coverage) ([Test Generation] Change the set of coverage criteria that can be targeted dafny-lang/dafny#4326)
Add support for Rename LSP request
(feat: LSP rename support dafny-lang/dafny#4365)
Make verification in the IDE more responsive by starting verification after translating the required module to Boogie, instead of first translating all modules that could be verified. (Let the IDE translate to and resolve Boogie only when attempting to verify dafny-lang/dafny#4378)
The Dafny IDE now has improved behavior when working with a Dafny file that's part of a Dafny project. A Dafny file is part of a project if a
dfyconfig.toml
can be found somewhere in the file's path hierarchy, such as in the same folder or in the parent folder. Adfyconfig.toml
can specify which Dafny options to use for that project, and can specify which Dafny files are part of the project. By default, the project will include all .dfy files reachable from the folder in which thedfyconfig.toml
resides. Project related features of the IDE are:Try out the IDE's project support now by creating an empty
dfyconfig.toml
file in the root of your project repository.(Always have project mode on dafny-lang/dafny#4435)
Prior to generating tests, Dafny now checks the targeted program for any features that test generation does not support or any misuse of test generation specific attributes.
Any such issues are reported to the user.
(Test Generation Auditor dafny-lang/dafny#4444)
Added documentation of the generate-tests command to the reference manual (Documenting Test Generation in Reference Manual dafny-lang/dafny#4445)
When two modules in the same scope have the same name, Dafny now reports an error that contains the location of both modules. (Include both locations in duplicate module name error messages dafny-lang/dafny#4499)
(Report errors that occur in the project file, in the IDE as well dafny-lang/dafny#4539)
Bug fixes
Triggers warnings correclty converted into errors with --warn-as-errors ("No trigger covering all quantified variables found" is still a warning with
/warningsAsErrors
dafny-lang/dafny#3358)Allow JavaScript keywords as names of Dafny modules (Retry running gradle wrapper five times on Windows dafny-lang/dafny#4243)
Support odd characters in pathnames for Go (fix: Support odd characters in pathnames for Go dafny-lang/dafny#4257)
Allow Dafny filenames compiled to Java to start with a digit (fix: Allow more Dafny filenames for compilation to Java dafny-lang/dafny#4258)
Parser now supports files with a lot of consecutive single-line comments (Dafny crashes when you comment out lots of code dafny-lang/dafny#4261)
Gutter icons more robust (Gutter highlighting broken dafny-lang/dafny#4287)
Unresolved abstract imports no longer crash the resolver (Import an abstract module without a default exportset causes Dafny to crash dafny-lang/dafny#4298)
Make capitalization of target Go code consistent (fix: Mark capitalization conflicts before starting compilation dafny-lang/dafny#4310)
Refining an abstract module with a class with an opaque function no longer crashes (Refining a module with a class containing opaque functions causes resolution error dafny-lang/dafny#4315)
Dafny can now produce coverage reports indicating which parts of the program are expected to be covered by automatically generated tests.
The same functionality can be used to report other forms of coverage.
(Dafny Test Coverage Report dafny-lang/dafny#4325)
Fix issue that would prevent the IDE from correctly handling default export sets (Resolution fails when using a symbol from a default export set of an inner module dafny-lang/dafny#4328)
Allow function-syntax and other options with a custom default to be overridden in
dfyconfig.toml
(Fix project file override dafny-lang/dafny#4357)There were two differences between verification in the IDE and the CLI, one small and one tiny, which would only become apparent for proofs that Z3 had trouble verifying. The small difference has been resolved, while the tiny one still persists, so the IDE and CLI should behave almost equivalently now, including resource counts, on most code. (Set options in IDE to more closely match CLI dafny-lang/dafny#4374)
Old command line interface for test generation is no longer supported, all calls should use dafny generate-tests ([Test Generation] Deprecate support for old command line interface dafny-lang/dafny#4385)
Fixed a bug leading to stack overflow during counterexample extraction on some programs. ([Counterexamples] Fix stack overflow during counterexample extraction for some programs dafny-lang/dafny#4392)
Ability to use .Key as a constant name in datatypes and classes (internal error when f.Keys is used to define a const field Keys of a datatype dafny-lang/dafny#4394)
Existential assertions are now printed correctly (Insert explicit assertion broken dafny-lang/dafny#4401)
When a symbol such as a method is not given a name, the error given by Dafny now shows where this problem occurs. (Improve error correction in the parser dafny-lang/dafny#4411)
Fix flickering and incorrect results in the verification status bar, and improve responsiveness of verification diagnostics (Fix flickering and incorrect results in the verification status bar, and improve responsiveness of diagnostics dafny-lang/dafny#4413)
Significantly improve IDE responsiveness for large projects, preventing it from appearing unresponsive or incorrect. Previously, for projects of a certain size, the IDE would not be able to keep up with incoming changes made by the user, possibly causing it to never catch up and appearing frozen or showing outdated results. (Improve performance for large projects dafny-lang/dafny#4419)
Declarations with {:only} ensure that other declarations aren't displayed as verified in the gutter icons (Using
{:only}
to focus verification dafny-lang/dafny#4432)Fix issues that could cause the IDE status bar to show incorrect information (Move compilation status updates to notification publisher dafny-lang/dafny#4454)
When verification times out, only show a red underline on the name of the verifiable for which verification timed out, instead of under its whole definition. (Use symbol name as range for timeout diagnostic dafny-lang/dafny#4477)
Prevent the IDE from becoming completely unresponsive after certain kinds of parse errors would occur. (Prevent the IDE from locking up when certain parse error occur dafny-lang/dafny#4495)
Support all types of options in the Dafny project file (dfyconfig.toml) (Support all option types in the project file dafny-lang/dafny#4506)
Fix an issue that would cause some types of errors and other diagnostics not to appear in the IDE, if they appeared in files other than the active one. (Diagnostic related fixes dafny-lang/dafny#4513)
Fix an IDE issue that would lead to exceptions when using module export declarations and making edits in imported modules that were re-exported (Fix caching of export declarations dafny-lang/dafny#4556)
Fix a leak in the IDE that would cause it to become less responsive over time. (Fix thread leak dafny-lang/dafny#4570)