Grab constructor call type parameters from its class, not from the contructor
This commit is contained in:
committed by
alexander-gorshenev
parent
e082522cdf
commit
4332ce9884
+1
-1
@@ -236,7 +236,7 @@ open class DefaultParameterInjector(
|
||||
type = context.irBuiltIns.unitType,
|
||||
symbol = symbolForCall as IrConstructorSymbol,
|
||||
descriptor = symbolForCall.descriptor,
|
||||
typeArgumentsCount = symbolForCall.owner.typeParameters.size
|
||||
typeArgumentsCount = expression.typeArgumentsCount
|
||||
)
|
||||
.apply {
|
||||
copyTypeArgumentsFrom(expression)
|
||||
|
||||
Reference in New Issue
Block a user