Skip to content

Commit 510b679

Browse files
authored
Release Dafny 3.10.0 (#3201)
<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>
1 parent 96042ff commit 510b679

36 files changed

+80
-38
lines changed

RELEASE_NOTES.md

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,85 @@
22

33
See [docs/dev/news/](docs/dev/news/).
44

5+
# 3.10.0
6+
7+
## New features
8+
9+
- Emit warnings about possibly missing parentheses, based on operator precedence and unusual identation (https://github.com/dafny-lang/dafny/pull/2783)
10+
11+
- The DafnyRuntime NuGet package is now compatible with the .NET Standard 2.0 and .NET Framework 4.5.2 frameworks. (https://github.com/dafny-lang/dafny/pull/2795)
12+
13+
- Counterexamples involving sequences present elements in ascending order by index. (https://github.com/dafny-lang/dafny/pull/2975)
14+
15+
- The definition of the `char` type will change in Dafny version 4, to represent any Unicode scalar value instead of any UTF-16 code unit.
16+
The new command-line option `--unicode-char` allows early adoption of this mode.
17+
See section [7.5](http://dafny.org/dafny/DafnyRef/DafnyRef#sec-characters) of the Reference Manual for more details.
18+
(https://github.com/dafny-lang/dafny/pull/3016)
19+
20+
- `dafny run` now consistently requests UTF-8 output from compiled code.
21+
Use `chcp 65501` if you see garbled output on Windows.
22+
(https://github.com/dafny-lang/dafny/pull/3049)
23+
24+
- feat: support for traits as type arguments by fully allowing variance on datatypes in Java (https://github.com/dafny-lang/dafny/pull/3072)
25+
26+
## Bug fixes
27+
28+
- Function by method with the same name as a method won't crash resolver (https://github.com/dafny-lang/dafny/pull/2019)
29+
30+
- Better reporting if 'this' used in a subset type - and no crash (https://github.com/dafny-lang/dafny/pull/2068)
31+
32+
- Support for aliases in module resolution without crashing on imports (https://github.com/dafny-lang/dafny/pull/2108)
33+
34+
- Added missing check to prevent crash during resolution (https://github.com/dafny-lang/dafny/pull/2111)
35+
36+
- No more resolver crash on pattern match with incompatible types (https://github.com/dafny-lang/dafny/pull/2139)
37+
38+
- Refinements get errors at the correct place in LSP (https://github.com/dafny-lang/dafny/pull/2402)
39+
40+
- Resolution errors in the left-hand sign of an assign-such-that statement do not crash Dafny anymore (https://github.com/dafny-lang/dafny/pull/2496)
41+
42+
- old() cannot be inferred as a trigger alone (https://github.com/dafny-lang/dafny/pull/2593)
43+
44+
- Labels are no longer compiled in the case of variable declarations (https://github.com/dafny-lang/dafny/pull/2608)
45+
46+
- No more mention of reveal lemmas when implementing opaque functions in traits (https://github.com/dafny-lang/dafny/pull/2612)
47+
48+
- Verification of abstract modules not duplicated when imported (https://github.com/dafny-lang/dafny/pull/2703)
49+
50+
- Dafny now compiles functions that mix tail- and non-tail-recursive calls without crashing (https://github.com/dafny-lang/dafny/pull/2726)
51+
52+
- substitution of binding guards does not crash if splits present (https://github.com/dafny-lang/dafny/pull/2748)
53+
54+
- No more crash when constraining type synonyms (https://github.com/dafny-lang/dafny/pull/2829)
55+
56+
- Returning a tuple when it should be two variables does not crash Dafny anymore (https://github.com/dafny-lang/dafny/pull/2878)
57+
58+
- Default generic values no longer cause compilation error (https://github.com/dafny-lang/dafny/pull/2885)
59+
60+
- Now publishing Dafny Binary for MacOS Arm64 architecture (https://github.com/dafny-lang/dafny/pull/2889)
61+
62+
- Added a missing case in the Translator (pattern matching for variable declarations) (https://github.com/dafny-lang/dafny/pull/2920)
63+
64+
- The Python and Go backends now encode non-ASCII characters in string literals correctly (https://github.com/dafny-lang/dafny/pull/2926)
65+
66+
- Added a missing case of TypeSynonymDecl in the resolver that caused a crash (https://github.com/dafny-lang/dafny/pull/2927)
67+
68+
- Fix malformed Boogie generated for extreme predicates (https://github.com/dafny-lang/dafny/pull/2984)
69+
70+
- Counter-examples with non-integer sequence indices do not crash Dafny anymore. (https://github.com/dafny-lang/dafny/pull/3048)
71+
72+
- Use correct type for map update expression (https://github.com/dafny-lang/dafny/pull/3059)
73+
74+
- Language server no longer crashing in special case (https://github.com/dafny-lang/dafny/pull/3062)
75+
76+
- Resolved an instance in which the Dafny language server could enter a broken state. (https://github.com/dafny-lang/dafny/pull/3065)
77+
78+
- Do not refer to an implicit assignment in error messages on return statements (https://github.com/dafny-lang/dafny/pull/3125)
79+
80+
- Multiple exact same failing assertions do not crash the Boogie counter-example engine anymore (https://github.com/dafny-lang/dafny/pull/3136)
81+
82+
- Duplicate declarations caused by resolver do not crash the language server anymore (https://github.com/dafny-lang/dafny/pull/3155)
83+
584
# 3.9.1
685

786
## New features

Source/Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project>
22

33
<PropertyGroup>
4-
<VersionPrefix>3.10.0</VersionPrefix>
4+
<VersionPrefix>3.10.0.41215<!--Version 3.10.0, year 2018+4, month 12, day 15.--></VersionPrefix>
55
<NoWarn>1701;1702;VSTHRD200</NoWarn>
66
</PropertyGroup>
77

docs/dev/news/2019.fix

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/dev/news/2068.fix

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/dev/news/2108.fix

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/dev/news/2111.fix

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/dev/news/2139.fix

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/dev/news/2402.fix

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/dev/news/2496.fix

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/dev/news/2593.fix

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)