summaryrefslogtreecommitdiff
path: root/Dafny
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
commit8bc70b104efb559206a2b65e3f4151049dcb84ad (patch)
tree013f27f0040050b7d1b5018ea30819c8c3162a71 /Dafny
parentb5d9304ef79421854a7be7a9e7ce461dfe45be53 (diff)
Dafny: fixed bad merge
Diffstat (limited to 'Dafny')
-rw-r--r--Dafny/Translator.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Dafny/Translator.cs b/Dafny/Translator.cs
index 0d97456d..2758e189 100644
--- a/Dafny/Translator.cs
+++ b/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;