summaryrefslogtreecommitdiff
path: root/Source/Dafny/Resolver.cs
diff options
context:
space:
mode:
authorGravatar Rustan Leino <unknown>2015-09-30 13:30:43 -0700
committerGravatar Rustan Leino <unknown>2015-09-30 13:30:43 -0700
commitd6d0062d4fd25d733d97e02ea65d9653f7d77175 (patch)
tree70a1db882da6f924ff5144551dddda8badf1bb28 /Source/Dafny/Resolver.cs
parentc8c9531139972c0bb0ade064a357e007e0faa4c0 (diff)
Removed some unused code.
Diffstat (limited to 'Source/Dafny/Resolver.cs')
-rw-r--r--Source/Dafny/Resolver.cs7
1 files changed, 0 insertions, 7 deletions
diff --git a/Source/Dafny/Resolver.cs b/Source/Dafny/Resolver.cs
index 0b0bbf26..36464925 100644
--- a/Source/Dafny/Resolver.cs
+++ b/Source/Dafny/Resolver.cs
@@ -4406,12 +4406,8 @@ namespace Microsoft.Dafny
var k = com.PrefixLemma.Ins[0];
scope.Push(k.Name, k); // we expect no name conflict for _k
}
- var prevErrorCount = reporter.Count(ErrorLevel.Error);
ResolveBlockStatement(m.Body, m);
SolveAllTypeConstraints();
- if (reporter.Count(ErrorLevel.Error) == prevErrorCount) {
-//KRML ComputeGhostInterest(m.Body, m);
- }
}
// attributes are allowed to mention both in- and out-parameters (including the implicit _k, for colemmas)
@@ -4530,9 +4526,6 @@ namespace Microsoft.Dafny
// Resolve body
if (iter.Body != null) {
ResolveBlockStatement(iter.Body, iter);
- if (reporter.Count(ErrorLevel.Error) == postSpecErrorCount) {
- //KRML ComputeGhostInterest(iter.Body, iter);
- }
}
currentClass = null;