diff options
author | Ally Donaldson <unknown> | 2013-07-22 10:54:53 +0100 |
---|---|---|
committer | Ally Donaldson <unknown> | 2013-07-22 10:54:53 +0100 |
commit | 5664c5e30f16b74eae4cdcb0b9ba65d5b030c815 (patch) | |
tree | fe40419b6ac67768a9274cc64d7277e350fe1561 /Source/VCExpr/TypeErasureArguments.cs | |
parent | 8547ab2737f6bcb185398e4cbc3edde3847cb085 (diff) |
Refactoring of VariableSeq and TypeSeq
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];
|