summaryrefslogtreecommitdiff
path: root/Source/VCExpr/TypeErasure.cs
diff options
context:
space:
mode:
authorGravatar tabarbe <unknown>2010-08-20 00:53:31 +0000
committerGravatar tabarbe <unknown>2010-08-20 00:53:31 +0000
commit31c11cdcbcb3e82f4ed769de7e7d0d362f657a93 (patch)
tree3467e04ca13ef66036052a26f2a21c7d1be5e14f /Source/VCExpr/TypeErasure.cs
parentc8e02f87038179ab575044c3e7eb00a2d5115389 (diff)
Boogie: Fixed some doubly-inherited-contract occurrences.
Diffstat (limited to 'Source/VCExpr/TypeErasure.cs')
-rw-r--r--Source/VCExpr/TypeErasure.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/VCExpr/TypeErasure.cs b/Source/VCExpr/TypeErasure.cs
index 5029ba53..f148dc79 100644
--- a/Source/VCExpr/TypeErasure.cs
+++ b/Source/VCExpr/TypeErasure.cs
@@ -655,10 +655,10 @@ Contract.Ensures(Contract.ValueAtReturn(out var) != null);
}
return res;
}
-
+ [Pure]
public Function CastTo(Type type) {
Contract.Requires(type != null);
- Contract.Requires((UnchangedType(type)));
+ Contract.Requires(UnchangedType(type));
Contract.Ensures(Contract.Result<Function>() != null);
return GetTypeCasts(type).CastFromU;
}