summaryrefslogtreecommitdiff
path: root/Source/Core/AbsyCmd.cs
diff options
context:
space:
mode:
authorGravatar wuestholz <unknown>2014-11-25 10:52:54 +0100
committerGravatar wuestholz <unknown>2014-11-25 10:52:54 +0100
commitc8b3dace6ff23f5554423b41c03d87e024ed1147 (patch)
treea43d8de1611c2fa075aa3648c2d8e31df45d07cd /Source/Core/AbsyCmd.cs
parentdf1fcecae3a43d6079eb6b335b80d9a907945ffe (diff)
Worked on the verification result caching (extracted functions).
Diffstat (limited to 'Source/Core/AbsyCmd.cs')
-rw-r--r--Source/Core/AbsyCmd.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/Core/AbsyCmd.cs b/Source/Core/AbsyCmd.cs
index d143e480..046d97b9 100644
--- a/Source/Core/AbsyCmd.cs
+++ b/Source/Core/AbsyCmd.cs
@@ -2592,10 +2592,17 @@ namespace Microsoft.Boogie {
if (result != null)
{
result = LiteralExpr.And(result, c);
+ result.Type = Type.Bool;
+ var nAryExpr = result as NAryExpr;
+ if (nAryExpr != null)
+ {
+ nAryExpr.TypeParameters = SimpleTypeParamInstantiation.EMPTY;
+ }
}
else
{
result = c;
+ result.Type = Type.Bool;
}
}
return result;