Don't lost type parameters for members of inline classes in the bytecode

#KT-33157 Fixed
This commit is contained in:
Mikhail Zarechenskiy
2019-08-06 15:13:29 +03:00
parent a874f4f5c3
commit 80acc56c10
8 changed files with 76 additions and 0 deletions
@@ -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 -> {