diff options
author | tabarbe <unknown> | 2010-08-19 22:27:55 +0000 |
---|---|---|
committer | tabarbe <unknown> | 2010-08-19 22:27:55 +0000 |
commit | 495d07eb040d3e04e5266ea6dec3999c4f3e0df1 (patch) | |
tree | ddca16946e5a0b1b7192c55c141e5cf4993f40dc /Source/VCExpr/VCExprAST.cs | |
parent | 5b2dd6bd6caa5a3bad85907c844186c324da4278 (diff) |
Boogie: Fixed a few contracts errors
Diffstat (limited to 'Source/VCExpr/VCExprAST.cs')
-rw-r--r-- | Source/VCExpr/VCExprAST.cs | 4 |
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;
}
}
|