summaryrefslogtreecommitdiff
path: root/Source/VCGeneration/ConditionGeneration.cs
diff options
context:
space:
mode:
authorGravatar Pantazis Deligiannis <pdeligia@me.com>2013-08-20 11:11:16 +0100
committerGravatar Pantazis Deligiannis <pdeligia@me.com>2013-08-20 11:11:16 +0100
commit38504e3df7e9c87e3e57811c05020027132784fa (patch)
treedffb7c44c8d0441677a07f4cb49356b9801311bf /Source/VCGeneration/ConditionGeneration.cs
parent96421f6395139651821ea530f9b8ef32e04c0a83 (diff)
parentf1f3d32ba043c0468dd04dfcfa7ac02c3fa1876c (diff)
Merge
Diffstat (limited to 'Source/VCGeneration/ConditionGeneration.cs')
-rw-r--r--Source/VCGeneration/ConditionGeneration.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/VCGeneration/ConditionGeneration.cs b/Source/VCGeneration/ConditionGeneration.cs
index e3991f93..e0ef2aed 100644
--- a/Source/VCGeneration/ConditionGeneration.cs
+++ b/Source/VCGeneration/ConditionGeneration.cs
@@ -976,7 +976,7 @@ namespace VC {
protected Checker FindCheckerFor(int timeout, bool isBlocking = true)
{
- Contract.Ensures(Contract.Result<Checker>() != null);
+ Contract.Ensures(!isBlocking || Contract.Result<Checker>() != null);
var maxRetries = 3;
lock (checkers)
@@ -1191,7 +1191,7 @@ namespace VC {
protected Dictionary<Variable, Expr> ComputeIncarnationMap(Block b, Dictionary<Block, Dictionary<Variable, Expr>> block2Incarnation) {
Contract.Requires(b != null);
Contract.Requires(block2Incarnation != null);
- Contract.Ensures(Contract.Result<Hashtable>() != null);
+ Contract.Ensures(Contract.Result<Dictionary<Variable, Expr>>() != null);
if (b.Predecessors.Count == 0) {
return new Dictionary<Variable, Expr>();