summaryrefslogtreecommitdiff
path: root/Source/VCExpr/VCExprAST.cs
diff options
context:
space:
mode:
authorGravatar tabarbe <unknown>2010-08-19 22:27:55 +0000
committerGravatar tabarbe <unknown>2010-08-19 22:27:55 +0000
commit495d07eb040d3e04e5266ea6dec3999c4f3e0df1 (patch)
treeddca16946e5a0b1b7192c55c141e5cf4993f40dc /Source/VCExpr/VCExprAST.cs
parent5b2dd6bd6caa5a3bad85907c844186c324da4278 (diff)
Boogie: Fixed a few contracts errors
Diffstat (limited to 'Source/VCExpr/VCExprAST.cs')
-rw-r--r--Source/VCExpr/VCExprAST.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/VCExpr/VCExprAST.cs b/Source/VCExpr/VCExprAST.cs
index 40fadfac..7d4746e2 100644
--- a/Source/VCExpr/VCExprAST.cs
+++ b/Source/VCExpr/VCExprAST.cs
@@ -800,7 +800,7 @@ TypeSeq/*!*/ res = new TypeSeq();
}
public override Type Type {
get {
- Contract.Ensures(cce.NonNullElements(Contract.Result<IEnumerable<VCExpr>>()));
+ Contract.Ensures(Contract.Result<Type>()!=null);
throw new NotImplementedException();
}
}
@@ -929,7 +929,7 @@ TypeSeq/*!*/ res = new TypeSeq();
public override Type Type {
get {
- Contract.Ensures(Contract.Result<VCExpr>() != null);
+ Contract.Ensures(Contract.Result<Type>() != null);
return ExprType;
}
}