summaryrefslogtreecommitdiff
path: root/Source/Concurrency/MoverCheck.cs
diff options
context:
space:
mode:
authorGravatar qadeer <unknown>2014-04-15 09:32:38 -0700
committerGravatar qadeer <unknown>2014-04-15 09:32:38 -0700
commit72b5d281e554cb980155fcc971717e954e921a60 (patch)
treee665a6bc07dfd92f8ad9afdbb54ed9c4a2787c77 /Source/Concurrency/MoverCheck.cs
parent96fae84963c1e84ad70a576e97648e1b3c2d3087 (diff)
added more types to constructed expressions
Diffstat (limited to 'Source/Concurrency/MoverCheck.cs')
-rw-r--r--Source/Concurrency/MoverCheck.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Concurrency/MoverCheck.cs b/Source/Concurrency/MoverCheck.cs
index 7583d250..adfcc5c9 100644
--- a/Source/Concurrency/MoverCheck.cs
+++ b/Source/Concurrency/MoverCheck.cs
@@ -267,6 +267,7 @@ namespace Microsoft.Boogie
else
{
returnExpr = Expr.And(returnExpr, Expr.Eq(Expr.Ident(v), (new MyDuplicator()).VisitExpr(varToExpr[v])));
+ returnExpr.Type = Type.Bool;
}
}
@@ -284,6 +285,7 @@ namespace Microsoft.Boogie
else
{
returnExpr = Expr.And(returnExpr, x);
+ returnExpr.Type = Type.Bool;
}
}
@@ -340,6 +342,7 @@ namespace Microsoft.Boogie
else
{
expr = Expr.And(expr, x);
+ expr.Type = Type.Bool;
}
}
expr = Substituter.Apply(Substituter.SubstitutionFromHashtable(subst), expr);