diff options
-rw-r--r-- | Source/VCExpr/TypeErasure.cs | 4 |
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;
}
|