summaryrefslogtreecommitdiff
path: root/Source/DafnyExtension/DafnyDriver.cs
diff options
context:
space:
mode:
authorGravatar Rustan Leino <unknown>2013-07-10 19:02:54 -0700
committerGravatar Rustan Leino <unknown>2013-07-10 19:02:54 -0700
commit0aacec26c9472a3b6e4bb0734b917bb36c7a6547 (patch)
treeb21559109f433a7daf01d0f11e7fd818a4536061 /Source/DafnyExtension/DafnyDriver.cs
parentd7b497163985f12234746ced1c367897fb12c0c1 (diff)
parent5df8661c279d98990c2852f559d8b67fa9b0c92e (diff)
Merge
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;