diff options
author | Clément Pit--Claudel <clement.pitclaudel@live.com> | 2015-08-23 00:12:04 -0700 |
---|---|---|
committer | Clément Pit--Claudel <clement.pitclaudel@live.com> | 2015-08-23 00:12:04 -0700 |
commit | dc08d67a27ffeb26889a56daa573ccc56daa1c0d (patch) | |
tree | bf33f9861099ea37a6f05c668a7dc61db97b15de /Source/Dafny/DafnyAst.cs | |
parent | be66434c97446d311aada9aec42fdbc8eba26ea8 (diff) |
Make quantifier splitting a two step process
This fixes a bug that affected Monad.dfy
Diffstat (limited to 'Source/Dafny/DafnyAst.cs')
-rw-r--r-- | Source/Dafny/DafnyAst.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Dafny/DafnyAst.cs b/Source/Dafny/DafnyAst.cs index c4ea0a5a..c7aae173 100644 --- a/Source/Dafny/DafnyAst.cs +++ b/Source/Dafny/DafnyAst.cs @@ -4796,7 +4796,7 @@ namespace Microsoft.Dafny { }
public override IEnumerable<Expression> SubExpressions
{
- get {
+ get { // FIXME: This can return duplicates; this could confuse BottomUpVisitors that modify the AST in place
foreach (var e in base.SubExpressions) { yield return e; }
foreach (var e in Attributes.SubExpressions(Attributes)) { yield return e; }
|