summaryrefslogtreecommitdiff
path: root/Source/DafnyExtension/DafnyDriver.cs
diff options
context:
space:
mode:
authorGravatar wuestholz <unknown>2013-07-10 18:21:14 -0700
committerGravatar wuestholz <unknown>2013-07-10 18:21:14 -0700
commit5df8661c279d98990c2852f559d8b67fa9b0c92e (patch)
treeed4a19290ebdbf1a9977cc05fb6e6d0e7bbe2e1d /Source/DafnyExtension/DafnyDriver.cs
parent8e467cdab8f3de3933a0cfbe372520225adcc97d (diff)
Did some refactoring of the interaction with the Boogie execution engine.
Diffstat (limited to 'Source/DafnyExtension/DafnyDriver.cs')
-rw-r--r--Source/DafnyExtension/DafnyDriver.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/DafnyExtension/DafnyDriver.cs b/Source/DafnyExtension/DafnyDriver.cs
index b5629b96..479816a6 100644
--- a/Source/DafnyExtension/DafnyDriver.cs
+++ b/Source/DafnyExtension/DafnyDriver.cs
@@ -40,6 +40,7 @@ namespace DafnyLanguage
options.ApplyDefaultOptions();
ExecutionEngine.printer = new DummyPrinter();
+ ExecutionEngine.errorInformationFactory = new DafnyErrorInformationFactory();
}
}
@@ -230,8 +231,7 @@ namespace DafnyLanguage
PipelineOutcome oc = BoogieResolveAndTypecheck(program);
if (oc == PipelineOutcome.ResolvedAndTypeChecked) {
- ExecutionEngine.EliminateDeadVariablesAndInline(program);
- ExecutionEngine.errorInformationFactory = new DafnyErrorInformationFactory();
+ ExecutionEngine.EliminateDeadVariablesAndInline(program);
return ExecutionEngine.InferAndVerify(program, new PipelineStatistics(), er, requestId);
}
return oc;