Fix bad rebase

This commit is contained in:
Chris Smowton
2021-11-11 14:29:00 +00:00
committed by Ian Lynagh
parent b4138838fe
commit 380da465b9

View File

@@ -548,7 +548,7 @@ open class KotlinUsesExtractor(
val javaResult = TypeResult(id, javaSignature)
// Note the stripping of any type projection from `componentType` here mirrors the action of `IrType.getArrayElementType`,
// and is required if we are not to produce different kotlin types for the same Java type (e.g. List[] -> Array<out List> or Array<List>)
val owner: IrClass = s.classifier.owner as IrClass
val owner: IrClass = arrayType.classifier.owner as IrClass
val kotlinClassName = getUnquotedClassLabel(owner, listOf(makeTypeProjection(componentType, Variance.INVARIANT)))
val kotlinSignature = "$javaSignature?" // TODO: Wrong
val kotlinLabel = "@\"kt_type;nullable;${kotlinClassName}\""