diff options
author | Rustan Leino <leino@microsoft.com> | 2012-07-09 22:36:45 -0700 |
---|---|---|
committer | Rustan Leino <leino@microsoft.com> | 2012-07-09 22:36:45 -0700 |
commit | 8bc70b104efb559206a2b65e3f4151049dcb84ad (patch) | |
tree | 013f27f0040050b7d1b5018ea30819c8c3162a71 /Dafny | |
parent | b5d9304ef79421854a7be7a9e7ce461dfe45be53 (diff) |
Dafny: fixed bad merge
Diffstat (limited to 'Dafny')
-rw-r--r-- | Dafny/Translator.cs | 4 |
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;
|