[NI] Fix mapping of type arguments to parameters for inner classes

This commit is contained in:
Mikhail Zarechenskiy
2017-11-17 20:34:13 +03:00
parent e526a87d54
commit bee7ed1431
@@ -140,7 +140,7 @@ internal object CreateFreshVariablesSubstitutor : ResolutionPart() {
return
}
val typeParameters = candidateDescriptor.typeParameters
val typeParameters = candidateDescriptor.original.typeParameters
for (index in typeParameters.indices) {
val typeParameter = typeParameters[index]
val freshVariable = toFreshVariables.freshVariables[index]