diff options
author | 2013-08-20 11:11:16 +0100 | |
---|---|---|
committer | 2013-08-20 11:11:16 +0100 | |
commit | 38504e3df7e9c87e3e57811c05020027132784fa (patch) | |
tree | dffb7c44c8d0441677a07f4cb49356b9801311bf /Source/VCGeneration/ConditionGeneration.cs | |
parent | 96421f6395139651821ea530f9b8ef32e04c0a83 (diff) | |
parent | f1f3d32ba043c0468dd04dfcfa7ac02c3fa1876c (diff) |
Merge
Diffstat (limited to 'Source/VCGeneration/ConditionGeneration.cs')
-rw-r--r-- | Source/VCGeneration/ConditionGeneration.cs | 4 |
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>();
|