summaryrefslogtreecommitdiff
path: root/Source/Dafny
diff options
context:
space:
mode:
authorGravatar wuestholz <unknown>2011-09-20 09:59:16 +0200
committerGravatar wuestholz <unknown>2011-09-20 09:59:16 +0200
commit609deac438ce403abb679dc89a1ad6c98770e54c (patch)
tree2048c351c5db64bb285f1eb6f1afaefdec147a77 /Source/Dafny
parentd49d27d02674eb95f35ab0e6728ab8b64e9c5e10 (diff)
Dafny: Fixed an assertion violation in the "Checked" configuration.
Diffstat (limited to 'Source/Dafny')
-rw-r--r--Source/Dafny/Translator.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/Dafny/Translator.cs b/Source/Dafny/Translator.cs
index a1058786..17df4e06 100644
--- a/Source/Dafny/Translator.cs
+++ b/Source/Dafny/Translator.cs
@@ -1069,9 +1069,11 @@ namespace Microsoft.Dafny {
stmts = builder.Collect(m.tok);
}
+ QKeyValue kv = etran.TrAttributes(m.Attributes);
+
Bpl.Implementation impl = new Bpl.Implementation(m.tok, proc.Name,
typeParams, inParams, outParams,
- localVariables, stmts, etran.TrAttributes(m.Attributes));
+ localVariables, stmts, kv);
sink.TopLevelDeclarations.Add(impl);
currentMethod = null;