-
-
Notifications
You must be signed in to change notification settings - Fork 12.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dafny 4.1.0 #130682
Closed
Closed
dafny 4.1.0 #130682
Conversation
This file contains 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
I'm trying a couple fixes to this formula:
If these fixes shouldn't be mixed in with a version bump I'm happy to open a separate PR (we should be able to do the version bump first). |
github-actions
bot
added
autosquash
Automatically squash pull request commits according to Homebrew style.
bump-formula-pr
PR was created using `brew bump-formula-pr`
dotnet
.NET use is a significant feature of the PR or issue
labels
May 10, 2023
github-actions
bot
added
the
java
Java use is a significant feature of the PR or issue
label
May 10, 2023
p-linnane
previously requested changes
May 10, 2023
Looks like these changes fail in CI (though they seemed to work locally) so I've reverted them. |
SMillerDev
previously approved these changes
May 11, 2023
fxcoudert
previously approved these changes
May 11, 2023
🤖 An automated task has requested creation of a replacement PR. |
github-actions
bot
dismissed stale reviews from SMillerDev and fxcoudert
May 11, 2023 12:22
Replacement PR dispatched
BrewTestBot
pushed a commit
that referenced
this pull request
May 11, 2023
* dafny 4.1.0 * dafny: simplify dependencies * dafny: add back openjdk * Make sure to use dotnet formula * dafny: update tests * dafny: switch back to dotnet@6 * dafny: fix test Closes #130682. Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>
github-actions
bot
added
automerge-skip
`brew pr-automerge` will skip this pull request
superseded
PR was replaced by another PR
labels
May 11, 2023
✅ Replacement PR created at #130730. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
automerge-skip
`brew pr-automerge` will skip this pull request
autosquash
Automatically squash pull request commits according to Homebrew style.
bump-formula-pr
PR was created using `brew bump-formula-pr`
dotnet
.NET use is a significant feature of the PR or issue
java
Java use is a significant feature of the PR or issue
outdated
PR was locked due to age
superseded
PR was replaced by another PR
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 with
brew bump-formula-pr
.release notes
Added support for
.toml
based Dafny project files. For now the project file only allows specifying which Dafny files to include and exclude, and what options to use.The CLI commands that take Dafny files as input, such as build, run, translate, will now also accept Dafny project files.
When using an IDE based on
dafny server
, such as the Dafny VSCode extension, the IDE will look for a Dafny project file by traversing up the file tree from the currently opened file, until it finds itdfyconfig.toml
. The project file will override options specified in the IDE.(Enable configuring Dafny options through a project file dafny-lang/dafny#2907)
Recognize the
{:only}
attribute onassert
statements to temporarily transform other assertions into assumptions ([Feature request]:{:only}
on assertions dafny-lang/dafny#3095)Exposes the --output and --spill-translation options for the dafny test command (
dafny test
and--output
option dafny-lang/dafny#3612)The
dafny audit
command now reports instances of the{:concurrent}
attribute, intended to flag code that is intended, but can't be proven, to be safe for use in a concurrent setting. (Add auditor support for the:concurrent
attribute dafny-lang/dafny#3660)Added option --no-verify for language server (feat: no-verify for language server dafny-lang/dafny#3732)
.GetDocstring(DafnyOptions)
to every AST node--javadoclike-docstring-plugin
(Feat: Documenting Dafny Entities (Adding Docstring) dafny-lang/dafny#3756)
Documentation of the syntax for docstrings added to the reference manual (Documentation on docstrings dafny-lang/dafny#3773)
Labelled assertions and requires in functions (Support for labelled assertions and requires in functions dafny-lang/dafny#3804)
API support for obtaining the Dafny expression that is being checked by each assertion (Feat: Support for expressions in proof obligation descriptions dafny-lang/dafny#3888)
Added a "Dafny Library" backend, which produces self-contained, pre-verified
.doo
files ideal for distributing shared libraries..doo
files are produced with commands of the formdafny build -t:lib ...
.(feat: Build artifacts ("library" backend and .doo files) dafny-lang/dafny#3913)
Semantic interpretation of dots in names for
{:extern}
modules when compiling to Python (feat: Semantics for dots in{:extern}
module names in Python dafny-lang/dafny#3919)Code actions in editor to explicit failing assertions.
In VSCode, place the cursor on a failing assertion that support being made explicit and either
Both scenarios will explicit the failing assertion.
If you don't see a quick fix, it means that the assertion cannot be automatically made explicit for now.
Here is a initial list of assertions that can now be made explicit:
var x :| ...
statementvar x :| ...
statement(Feat: 10 more implicit assertions made explicit dafny-lang/dafny#3940)
Bug fixes
dafny test accepts a --methods-to-test option whose value is a regular expression selecting which tests to include in the test run (--tests option for dafny test dafny-lang/dafny#3221)
The deprecated attributes :dllimport, :handle, and :heapQuantifier are no longer recognized. (Post 4.0, remove all code associated with :handle and :dllimport dafny-lang/dafny#3398)
While using
dafny translate --target=java
, the--include-sources
option works as intended, while before it had no affect. (dafny build
withextern
declarations dafny-lang/dafny#3611)Tested support for paths with spaces in them (Space in the current directory crashes "dafny run" dafny-lang/dafny#3683)
Crash related to the override check for generic functions (fix: Crash related to the override check for generic functions dafny-lang/dafny#3692)
Opaque functions guaranteed to be opaque until revealed (
opaque
function called within lambda is not opaque! dafny-lang/dafny#3719)Support for Corretto tests (dafny build/test/run fails on Java + Windows dafny-lang/dafny#3731)
Right shift on native byte has the same consistent semantics even in Java (Incorrect right shift operation for byte in Java dafny-lang/dafny#3734)
The formatter now produces the same output whether invoked on the command-line or from VSCode (Dafny formatter produces incorrect indentation with match statement and :| dafny-lang/dafny#3790)
The --solver-log option is now hidden from help unless --help-internal is used. (Hide --solver-log option dafny-lang/dafny#3798)
Highlight "inconclusive" as errors in the gutter icons (Ignored or could not reach conclusion not highlighted in gutter dafny-lang/dafny#3821)
Docstring for functions with ensures (Missing docstring in predicate dafny-lang/dafny#3840)
Prevent a compiler crash that could occur when a datatype constructor was defined that has multiple parameters with the same name. (Dictionary Error With Object Update Syntax dafny-lang/dafny#3860)
Improved rules for nameonly parameters and parameter default-value expressions (Improve rules for nameonly/positional/nameless and required/optional … dafny-lang/dafny#3864)
Fixes several compilation issues, mostly related to subset types defined by one of its type parameter (fix: Compilation of subset types constrained by type parameter dafny-lang/dafny#3893)
Explicitly define inequality of
multiset
s in Python for better backwards compatibility (fix: Explicitly define inequality ofmultiset
s in Python for better backwards compatibility dafny-lang/dafny#3904)Format for comprehension expressions (Formater should have a continuation indent dafny-lang/dafny#3912)
Formatting for parameter default values (Formatter bug dafny-lang/dafny#3944)
Formatting issue in forall statement range (Formatting issue in forall statements dafny-lang/dafny#3960)
Select alternative default calc operator only if it doesn't clash with given step operators (fix: Select alternative default calc operator more carefully dafny-lang/dafny#3963)