summaryrefslogtreecommitdiff
path: root/Source/DafnyExtension/DafnyDriver.cs
diff options
context:
space:
mode:
authorGravatar wuestholz <unknown>2013-06-17 16:46:33 -0700
committerGravatar wuestholz <unknown>2013-06-17 16:46:33 -0700
commitba7675ce6fb3a29a411090370d7277e93c93d18b (patch)
treebf607703e61259a20c8b7ef1735136272b0a6a45 /Source/DafnyExtension/DafnyDriver.cs
parent89b25b04322b88a66c5bf459970b6e4c107fbe74 (diff)
DafnyExtension: Fixed an issue in the verification result caching.
Diffstat (limited to 'Source/DafnyExtension/DafnyDriver.cs')
-rw-r--r--Source/DafnyExtension/DafnyDriver.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/DafnyExtension/DafnyDriver.cs b/Source/DafnyExtension/DafnyDriver.cs
index 2dfc0025..79f49dfb 100644
--- a/Source/DafnyExtension/DafnyDriver.cs
+++ b/Source/DafnyExtension/DafnyDriver.cs
@@ -191,9 +191,10 @@ namespace DafnyLanguage
return Dafny.DafnyOptions.Clo.VerifySnapshots;
}
- public static bool Verify(Dafny.Program dafnyProgram, string requestId, ErrorReporterDelegate er) {
+ public static bool Verify(Dafny.Program dafnyProgram, string uniqueIdPrefix, string requestId, ErrorReporterDelegate er) {
Dafny.Translator translator = new Dafny.Translator();
translator.InsertChecksums = true;
+ translator.UniqueIdPrefix = uniqueIdPrefix;
Bpl.Program boogieProgram = translator.Translate(dafnyProgram);
PipelineOutcome oc = BoogiePipeline(boogieProgram, requestId, er);