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

Add definiteAssignment option mapping to release notes #2948

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions docs/DafnyRef/UserGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -1221,6 +1221,9 @@ older versions of Dafny.
implicitly static and field declarations are not allowed at the
module scope.

* `--enforce-determinism` add a check that only deterministic statements are used, so that
values seen during execution will be the same in every run of the program.

### 25.9.6. Controlling warnings {#sec-controlling-warnings}

These options control what warnings Dafny produces, and whether to treat
Expand Down
8 changes: 7 additions & 1 deletion docs/dev/news/2823.feat
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
Introduce a new Dafny CLI UI that complies with the POSIX standard and uses verbs to distinguish between use-cases. Run the Dafny CLI without arguments to view help for this new UI.
Introduce a new Dafny CLI UI that complies with the POSIX standard and uses verbs to distinguish between use-cases. Run the Dafny CLI without arguments to view help for this new UI.
The option definiteAssignment is replaced by two independent options, enforce-determinism and strict-definite-assignment, using the following mapping:
definiteAssignment => enforce-determinism, strict-definite-assignment
0 => unmapped
1 => false, false
2 => false, true
3 => true, true
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You might use bullet points or a code block or a table here?