summaryrefslogtreecommitdiff
path: root/Source/Dafny/Translator.cs
diff options
context:
space:
mode:
authorGravatar Rustan Leino <leino@microsoft.com>2012-07-09 22:36:45 -0700
committerGravatar Rustan Leino <leino@microsoft.com>2012-07-09 22:36:45 -0700
commita6dc10b9052a3953e6ceb4507ac287d1c55656cc (patch)
tree30bca00133d4688b731688c335fb760b55e32ef1 /Source/Dafny/Translator.cs
parentf877453f13a60e8a1d08da9cf017b35c772dddc9 (diff)
Dafny: fixed bad merge
Diffstat (limited to 'Source/Dafny/Translator.cs')
-rw-r--r--Source/Dafny/Translator.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Dafny/Translator.cs b/Source/Dafny/Translator.cs
index 0d97456d..2758e189 100644
--- a/Source/Dafny/Translator.cs
+++ b/Source/Dafny/Translator.cs
@@ -8107,8 +8107,8 @@ namespace Microsoft.Dafny {
} else if (expr is NamedExpr) {
var e = (NamedExpr)expr;
- var body = Substitute(e.Body, receiverReplacement, substMap);
- var contract = e.Contract == null ? null : Substitute(e.Contract, receiverReplacement, substMap);
+ var body = Substitute(e.Body);
+ var contract = e.Contract == null ? null : Substitute(e.Contract);
newExpr = new NamedExpr(e.tok, e.Name, body, contract, e.ReplacerToken);
} else if (expr is ComprehensionExpr) {
var e = (ComprehensionExpr)expr;