Source code checked in, #8b8e89735a4c
Fix issue 116. Add the missing @ for the generated c# code.
View ArticleClosed Unassigned: C# keywords cause C# errors in some places [116]
The following Dafny code produces illegal C# code:```datatype struct = S // this is okmethod Main(){ var s := S; // this line generates illegal C# code print s;}```
View ArticleSource code checked in, #7413be727db9
Fix some VS IDE performance issues. - cache scan results so it can be shared between different instances of DafnyTokenTagger - Instead of rescanning the whole text buffer upon a text change, only...
View ArticleCreated Unassigned: Module refinement induces crash [117]
When I run Dafny on the following code, it crashes:abstract module AbstractModule1{ type AbstractType1}abstract module AbstractModule2{ import opened AM1 as AbstractModule1 datatype AbstractType2 =...
View ArticleSource code checked in, #b0f063221c0e
Removed Contract.Requires from method overrides (preconditions of overrides are inherited from the overridden method and Code Contracts will copy those preconditions to make sure the right run-time...
View ArticleCreated Unassigned: Set comprehension heuristics for function definitions [118]
Here's a small Dafny example where the set comprehensions fail:```class Foo { ghost var Repr: set<object>}function SeqRepr(s:seq<Foo>) : set<object> reads set b | b in s { set o,b | b...
View ArticleSource code checked in, #dc6370f198f5
Fix issue 118. When iteratively computing bounds, treat RefBoundedPool typed bound as undetermined so that iteration will continue.
View ArticleClosed Unassigned: Set comprehension heuristics for function definitions [118]
Here's a small Dafny example where the set comprehensions fail:```class Foo { ghost var Repr: set<object>}function SeqRepr(s:seq<Foo>) : set<object> reads set b | b in s { set o,b | b...
View ArticleSource code checked in, #19c7978e40c2
Fix issue 117. Generate an error when the "opened" of an import doesn't match between a module and its refinement base.
View ArticleEdited Unassigned: Module refinement induces crash [117]
When I run Dafny on the following code, it crashes:abstract module AbstractModule1{ type AbstractType1}abstract module AbstractModule2{ import opened AM1 as AbstractModule1 datatype AbstractType2 =...
View ArticleClosed Unassigned: Module refinement induces crash [117]
When I run Dafny on the following code, it crashes:abstract module AbstractModule1{ type AbstractType1}abstract module AbstractModule2{ import opened AM1 as AbstractModule1 datatype AbstractType2 =...
View ArticleCommented Unassigned: Module refinement induces crash [117]
When I run Dafny on the following code, it crashes:abstract module AbstractModule1{ type AbstractType1}abstract module AbstractModule2{ import opened AM1 as AbstractModule1 datatype AbstractType2 =...
View ArticleCreated Unassigned: Two ensures in an empty forall crashes Dafny due to...
The following code causes Dafny to crash if /autoTriggers:1 is set on the command line:method Try (a:int, b:int, c:int){ forall ensures a * c == a * c; ensures b * c == b * c;{}}Here's the crash...
View ArticleCreated Unassigned: Auto-triggers tries to find trigger for empty forall [122]
The following code causes Dafny to issue a spurious warning:method Try (a:int){ forall ensures a == a;{}}The warning is:Warning: /!\ No terms found to trigger on.This warning is spurious because an...
View ArticleCommented Unassigned: Two ensures in an empty forall crashes Dafny due to...
The following code causes Dafny to crash if /autoTriggers:1 is set on the command line:method Try (a:int, b:int, c:int){ forall ensures a * c == a * c; ensures b * c == b * c;{}}Here's the crash...
View ArticleCommented Unassigned: Two ensures in an empty forall crashes Dafny due to...
The following code causes Dafny to crash if /autoTriggers:1 is set on the command line:method Try (a:int, b:int, c:int){ forall ensures a * c == a * c; ensures b * c == b * c;{}}Here's the crash...
View ArticleCreated Unassigned: forall statement without bound variables causes trigger...
A degenerate form of the `forall` statement is to have an `ensures` clause but no bound variables. For example:```forall ensures P{// proof of P}```Such a statement can be useful as an inline lemma...
View ArticleCommented Unassigned: forall statement without bound variables causes trigger...
A degenerate form of the `forall` statement is to have an `ensures` clause but no bound variables. For example:```forall ensures P{// proof of P}```Such a statement can be useful as an inline lemma...
View ArticleClosed Unassigned: forall statement without bound variables causes trigger...
A degenerate form of the `forall` statement is to have an `ensures` clause but no bound variables. For example:```forall ensures P{// proof of P}```Such a statement can be useful as an inline lemma...
View Article