diff options
Diffstat (limited to 'Source/VCExpr/TypeErasureArguments.cs')
-rw-r--r-- | Source/VCExpr/TypeErasureArguments.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/VCExpr/TypeErasureArguments.cs b/Source/VCExpr/TypeErasureArguments.cs index 57218a73..49c7fe8e 100644 --- a/Source/VCExpr/TypeErasureArguments.cs +++ b/Source/VCExpr/TypeErasureArguments.cs @@ -180,7 +180,7 @@ Contract.Ensures(Contract.ValueAtReturn(out store) != null); int typeParamNum = abstractedType.FreeVariables.Length +
abstractedType.TypeParameters.Length;
- int arity = typeParamNum + abstractedType.Arguments.Length;
+ int arity = typeParamNum + abstractedType.Arguments.Count;
Type/*!*/[]/*!*/ selectTypes = new Type/*!*/ [arity + 2];
Type/*!*/[]/*!*/ storeTypes = new Type/*!*/ [arity + 3];
|