Skip to content
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

Update build.gradle to Dafny 4 CLI style #563

Merged
merged 3 commits into from
Jul 26, 2023

Conversation

DavePearce
Copy link
Collaborator

@DavePearce DavePearce commented Apr 4, 2023

Seems like we can now convert over to the new CLI style. In particular, since completing #530 we no longer require the command-line option /noExterns which was the main sticking point from before.

@DavePearce DavePearce linked an issue Apr 4, 2023 that may be closed by this pull request
@DavePearce DavePearce force-pushed the 558-switch-over-to-new-dafny-cli-style branch from 47fd0bb to d0d0f8c Compare April 4, 2023 00:52
@DavePearce DavePearce requested a review from hmijail April 4, 2023 00:52
@henry-hz
Copy link

henry-hz commented Jul 13, 2023

Error is coming from the 'berlin.dfy', using dafny 4.1.0

dafny build src/dafny/evms/berlin.dfy                             17:40:16
Unhandled exception. System.AggregateException: One or more errors occurred. (Value cannot be null. (Parameter 'source'))
 ---> System.ArgumentNullException: Value cannot be null. (Parameter 'source')

@DavePearce
Copy link
Collaborator Author

Hey Henry,

I think this is related to a bug in Dafny 4.1. Looks like they fixed it, but have not yet made another release.

Under the new CLI style, there is a bug related to use of the '--boogie"
command line switch, whereby only the last occurence is considered.
This fix bundles up options as needed.
@DavePearce DavePearce force-pushed the 558-switch-over-to-new-dafny-cli-style branch from c7ae734 to 6c26037 Compare July 25, 2023 23:29
There was a problem related to the `/randomSeedIterations` option which
is now fixed.
@DavePearce DavePearce merged commit 58cfbf1 into master Jul 26, 2023
1 check passed
@DavePearce DavePearce deleted the 558-switch-over-to-new-dafny-cli-style branch July 26, 2023 00:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Switch Over to New Dafny CLI Style
3 participants