Correct parameters of inner's class type constructor
Now it contains copies of outer's class constructor parameters They are appended just after real type parameters
This commit is contained in:
@@ -642,6 +642,8 @@ public class JetTypeMapper {
|
||||
|
||||
List<TypeProjection> arguments = jetType.getArguments();
|
||||
for (TypeParameterDescriptor parameter : jetType.getConstructor().getParameters()) {
|
||||
if (parameter.isCopyFromOuterDeclaration()) continue;
|
||||
|
||||
TypeProjection argument = arguments.get(parameter.getIndex());
|
||||
|
||||
if (projectionsAllowed && argument.isStarProjection()) {
|
||||
|
||||
Reference in New Issue
Block a user