Created Unassigned: Some generated C# code uses == rather than Equals [67]
The comparison "D([10, 20]) == D([10, 20])" is true statically but evaluates to False at run-time.```datatype d = D(m:seq<int>)method Main(){ assert D([10, 20]) == D([10, 20]); // succeeds print...
View ArticleCreated Unassigned: Some generated C# code uses wrong GetHashCode [68]
The expression "[10, 20] in m" is true statically but evaluates to False at run-time.```method Main(){ var m := map [[10, 20] := 33]; assert [10, 20] in m; // succeeds print [10, 20] in m; // prints...
View ArticleCreated Unassigned: Resolution/type error with modules and opaque [69]
An opaque member of module M2 cannot refer to a member of module M1. This may be because ResolveProgram tries to clone an already resolved/postResolved module and then resolve it again. ```module M1{...
View ArticleSource code checked in, #7ac157cf3ae7
Eliminate redundant checks of newtype and opaque function well-formedness from included files
View ArticleCreated Unassigned: Datatype constructor imported along multiple paths marked...
Module M4 indirectly imports constructor D from M1 via both M2 and M3. Dafny complains that M4's reference to D is ambiguous, but it's really not.```module M1{ datatype d = D()}module M2 { import...
View ArticleCreated Unassigned: Internal translation error with opaque, generics, and...
The following code causes an internal translation error:```function{:opaque} MapSetToSet<X, Y>(xs:set<X>, f:X->Y):set<Y> reads f.reads; requires forall x :: f.requires(x);{ set x |...
View ArticleCreated Unassigned: Assertions about datatypes fail [72]
In the example below, the assertion fails when it should succeed. The problem appears to be that, in the final else branch, Dafny isn’t inserting statements of the form: assume...
View ArticleCreated Unassigned: File location in error message is "(0,0)" [73]
The code below gives this error message:```(0,0): Error: assertion violation```where the file location is just "(0,0)" rather than the actual file and line number.```lemma L(m:map<int, int>,...
View ArticleCreated Unassigned: Trait member lookup considers class name [74]
If a class extending a trait has the same name as a member from the trait, then Dafny produces an error message that the class does not override the member.Given:```trait J { method C()}class C extends...
View ArticleSource code checked in, #b9aa6f3d80cf
Added test cases and fixes for overrides termination checks Removed syntactic presence checks for specifications--these will be checked semantically by the verifier
View ArticleSource code checked in, #4c949b484d17
Whitespace deltas in test files (in particular, removing tabs and adjusting some indentation)
View ArticleSource code checked in, #e8b3e26adb54
Fixed some bugs in override axioms (but still missing support for classes with type parameters). Resolve ClassDecl.TraitsTyp as types. Moved declaration of TraitParent and NoTraitAtAll to prelude.
View ArticleSource code checked in, #f488faa443d3
Add z3.exe and z3-license.txt to dafny binary and extension distribution.
View ArticleSource code checked in, #aa811de70cbd
Copy z3.exe and Z3-LICENSE.txt (from Binaries directory to Source/DafnyExtension directory) as pre-build events
View Article