diff options
author | Rustan Leino <unknown> | 2016-02-26 13:46:25 -0800 |
---|---|---|
committer | Rustan Leino <unknown> | 2016-02-26 13:46:25 -0800 |
commit | 0531b8772f4174d807caecc356ecaa41adca8c8c (patch) | |
tree | d4de41e22112c1d043e477b2d4cc5efe4081cf81 /Source/Dafny/Compiler.cs | |
parent | ad063dfd62db2b7f147e4f8abbcd7b8a7f575dae (diff) | |
parent | b3d6306759e450a5d004b6581e0bf3b891b93fa5 (diff) |
Merge
Diffstat (limited to 'Source/Dafny/Compiler.cs')
-rw-r--r-- | Source/Dafny/Compiler.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Dafny/Compiler.cs b/Source/Dafny/Compiler.cs index f5f95bd2..d6b2d9ba 100644 --- a/Source/Dafny/Compiler.cs +++ b/Source/Dafny/Compiler.cs @@ -937,10 +937,10 @@ namespace Microsoft.Dafny { Error("Method {0} has no body", wr, m.FullName);
} else {
if (m.IsTailRecursive) {
- Indent(indent, wr); wr.WriteLine("TAIL_CALL_START: ;");
if (!m.IsStatic) {
Indent(indent + IndentAmount, wr); wr.WriteLine("var _this = this;");
}
+ Indent(indent, wr); wr.WriteLine("TAIL_CALL_START: ;");
}
Contract.Assert(enclosingMethod == null);
enclosingMethod = m;
|