Created Unassigned: Invalid comparison against null in generated C# code [141]
[Running 1.9.6.21012.]When executed, the main program in the attached file (look familiar?) faults as follows```1Unhandled Exception:System.NullReferenceException: Object reference not set to an...
View ArticleCommented Unassigned: Invalid comparison against null in generated C# code [141]
[Running 1.9.6.21012.]When executed, the main program in the attached file (look familiar?) faults as follows```1Unhandled Exception:System.NullReferenceException: Object reference not set to an...
View ArticleNew Post: empty while loops
From the command line, you can use /noCheating:1, which will cause Dafny to complain about methods and functions that are missing a body (unless you give them the :axiom annotation). If it doesn't...
View ArticleEdited Unassigned: Less aggressive Lit wrapping needed [136]
When Dafny translates this program:```method test(){ assume false;}```the `assume false` is translated into Boogie as `assume Lit(false)`. This can be problematic when debugging timeouts, since Z3 is...
View ArticleClosed Unassigned: Less aggressive Lit wrapping needed [136]
When Dafny translates this program:```method test(){ assume false;}```the `assume false` is translated into Boogie as `assume Lit(false)`. This can be problematic when debugging timeouts, since Z3 is...
View ArticleEdited Unassigned: Tail calls broken in C# code [140]
[Running 1.9.6.21012.]When executed, the main program in the attached file goes into an infinite loop.The generated C# for method ```Print``` suggests why:``` public void @Print(){ TAIL_CALL_START: ;...
View ArticleClosed Unassigned: Tail calls broken in C# code [140]
[Running 1.9.6.21012.]When executed, the main program in the attached file goes into an infinite loop.The generated C# for method ```Print``` suggests why:``` public void @Print(){ TAIL_CALL_START: ;...
View ArticleClosed Unassigned: Invalid comparison against null in generated C# code [141]
[Running 1.9.6.21012.]When executed, the main program in the attached file (look familiar?) faults as follows```1Unhandled Exception:System.NullReferenceException: Object reference not set to an...
View ArticleEdited Unassigned: nullary constructor in case not allowed parentheses [138]
Datatype (and co-datatype) constructors in Dafny have parentheses around their arguments, both in declarations of the constructors and in their uses. However, for nullary constructors, the parentheses...
View ArticleClosed Unassigned: nullary constructor in case not allowed parentheses [138]
Datatype (and co-datatype) constructors in Dafny have parentheses around their arguments, both in declarations of the constructors and in their uses. However, for nullary constructors, the parentheses...
View ArticleCommented Unassigned: Dafny-generated quantifier missing a trigger [135]
When Dafny translates the `LambdaGenerator` function below:```datatype D = D(b:bool)function LambdaGenerator(x:int) : D -> bool{(d:D) -> d.b && x > 2}```the definition axioms include a...
View ArticleClosed Unassigned: Dafny-generated quantifier missing a trigger [135]
When Dafny translates the `LambdaGenerator` function below:```datatype D = D(b:bool)function LambdaGenerator(x:int) : D -> bool{(d:D) -> d.b && x > 2}```the definition axioms include a...
View ArticleEdited Unassigned: Shadowing, nested variable generates duplicate parameter...
Generally, the names of `case`-bound variables are allowed to shadow variables declared outside the enclosing `match`. However, in the case of nested patterns, Dafny generates an error if a bound...
View ArticleClosed Unassigned: Shadowing, nested variable generates duplicate parameter...
Generally, the names of `case`-bound variables are allowed to shadow variables declared outside the enclosing `match`. However, in the case of nested patterns, Dafny generates an error if a bound...
View ArticleSource code checked in, #8a987d26cea0
Fix issue 136. Less aggressive Lit wrap for assert/assume.
View ArticleSource code checked in, #180ce0703df6
Fix issue 140. Move the initializion of _this before the TAIL_CALL_START label.
View ArticleSource code checked in, #707ac07b2b43
Fix test failure. Print the resulting boogie code to a file instead of console.
View ArticleSource code checked in, #6889a20e0d64
Fix issue 138. Allow parenthese with the nullary constructor in "case" of a match statement and match expression.
View ArticleSource code checked in, #28790db40e1f
Changes to CanCall assumptions: - various peephole optimizations of formulas, to generate fewer tautologies - removed unused bound variables in CanCall quantifications (this addresses Issue #135) -...
View Article