summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jason Koenig <unknown>2011-07-14 15:52:58 -0700
committerGravatar Jason Koenig <unknown>2011-07-14 15:52:58 -0700
commit4f59d1c9a4087f4c9ee43151ed66fc547f863523 (patch)
treef3a913ae05fbc46c37084f29ceb1e90df7f2ef79
parenta63366a88bb84d7c64e498baa341ebfc79656b23 (diff)
Fixed bug where wellformedness for E in multiset(E) was checked in the "old" context.
-rw-r--r--Source/Dafny/Translator.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Dafny/Translator.cs b/Source/Dafny/Translator.cs
index 60a40f57..4d84a5f5 100644
--- a/Source/Dafny/Translator.cs
+++ b/Source/Dafny/Translator.cs
@@ -2054,7 +2054,7 @@ namespace Microsoft.Dafny {
CheckWellformed(e.E, options, locals, builder, etran.Old);
} else if (expr is MultiSetFormingExpr) {
MultiSetFormingExpr e = (MultiSetFormingExpr)expr;
- CheckWellformed(e.E, options, locals, builder, etran.Old);
+ CheckWellformed(e.E, options, locals, builder, etran);
} else if (expr is FreshExpr) {
FreshExpr e = (FreshExpr)expr;
CheckWellformed(e.E, options, locals, builder, etran);