diff options
author | Rustan Leino <unknown> | 2015-05-29 15:17:43 -0700 |
---|---|---|
committer | Rustan Leino <unknown> | 2015-05-29 15:17:43 -0700 |
commit | c17bdfd0330a18d20c0697394d40e0b2dc0288ec (patch) | |
tree | 4ceed34bdf0a297120f23136c8c99cc6109bd843 /Source/Dafny/Compiler.cs | |
parent | 4bb023c9acf460c9cafe69c238996e35f47014bb (diff) |
Changes to ComputeFreeVariables--bug fix as well as beautification
Diffstat (limited to 'Source/Dafny/Compiler.cs')
-rw-r--r-- | Source/Dafny/Compiler.cs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Source/Dafny/Compiler.cs b/Source/Dafny/Compiler.cs index 570ac30d..ef5ba69e 100644 --- a/Source/Dafny/Compiler.cs +++ b/Source/Dafny/Compiler.cs @@ -2863,11 +2863,8 @@ namespace Microsoft.Dafny { } else if (expr is LambdaExpr) {
LambdaExpr e = (LambdaExpr)expr;
- ISet<IVariable> fvs = new HashSet<IVariable>();
- bool dontCare = false;
- Type dontCareT = null;
- Translator.ComputeFreeVariables(expr, fvs, ref dontCare, ref dontCare, ref dontCareT, false);
+ var fvs = Translator.ComputeFreeVariables(expr);
var sm = new Dictionary<IVariable, Expression>();
var bvars = new List<BoundVar>();
|