Don't lost type parameters for members of inline classes in the bytecode
#KT-33157 Fixed
This commit is contained in:
@@ -805,6 +805,7 @@ class KotlinTypeMapper @JvmOverloads constructor(
|
||||
receiverTypeAndTypeParameters.receiverType
|
||||
}
|
||||
!isIrBackend && kind == OwnerKind.ERASED_INLINE_CLASS -> {
|
||||
writeFormalTypeParameters(directMember.typeParameters, sw)
|
||||
(directMember.containingDeclaration as ClassDescriptor).defaultType
|
||||
}
|
||||
else -> {
|
||||
|
||||
Reference in New Issue
Block a user