summaryrefslogtreecommitdiff
path: root/Source/Core/LambdaHelper.cs
diff options
context:
space:
mode:
authorGravatar Valentin Wüstholz <wuestholz@gmail.com>2015-06-12 08:28:07 +0200
committerGravatar Valentin Wüstholz <wuestholz@gmail.com>2015-06-12 08:28:52 +0200
commit2920db784b61f02b6d68e249bc3b1c6d1cf26efd (patch)
tree5d145b7a16625e2638b2c813a5c4b3b716715d65 /Source/Core/LambdaHelper.cs
parent0658816bbe2ea4be8785b52958a65b55c6a845a5 (diff)
Fix issue with computation of statement checksums for lambda expressions.
Diffstat (limited to 'Source/Core/LambdaHelper.cs')
-rw-r--r--Source/Core/LambdaHelper.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/LambdaHelper.cs b/Source/Core/LambdaHelper.cs
index 0d115777..a2b0f143 100644
--- a/Source/Core/LambdaHelper.cs
+++ b/Source/Core/LambdaHelper.cs
@@ -176,6 +176,7 @@ namespace Microsoft.Boogie {
}
Function fn = new Function(tok, FreshLambdaFunctionName(), freshTypeVars, formals, res, "auto-generated lambda function",
Substituter.Apply(Substituter.SubstitutionFromHashtable(substFnAttrs), lambdaAttrs));
+ fn.OriginalLambdaExprAsString = lam_str;
fcall = new FunctionCall(new IdentifierExpr(tok, fn.Name));
fcall.Func = fn; // resolve here