summaryrefslogtreecommitdiff
path: root/Source/DafnyServer/DafnyHelper.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Source/DafnyServer/DafnyHelper.cs')
-rw-r--r--Source/DafnyServer/DafnyHelper.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/DafnyServer/DafnyHelper.cs b/Source/DafnyServer/DafnyHelper.cs
index 10d98677..f32d0e38 100644
--- a/Source/DafnyServer/DafnyHelper.cs
+++ b/Source/DafnyServer/DafnyHelper.cs
@@ -62,7 +62,7 @@ namespace Microsoft.Dafny {
}
private bool Translate() {
- var translator = new Dafny.Translator() { InsertChecksums = true, UniqueIdPrefix = null }; //FIXME check if null is OK for UniqueIdPrefix
+ var translator = new Dafny.Translator() { InsertChecksums = true, UniqueIdPrefix = fname };
boogieProgram = translator.Translate(dafnyProgram); // FIXME how are translation errors reported?
return true;
}