Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 380da46

Browse files
smowtonigfoo
authored andcommitted
Fix bad rebase
1 parent b413883 commit 380da46

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

java/kotlin-extractor/src/main/kotlin/KotlinExtractorExtension.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ open class KotlinUsesExtractor(
548548
val javaResult = TypeResult(id, javaSignature)
549549
// Note the stripping of any type projection from `componentType` here mirrors the action of `IrType.getArrayElementType`,
550550
// 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>)
551-
val owner: IrClass = s.classifier.owner as IrClass
551+
val owner: IrClass = arrayType.classifier.owner as IrClass
552552
val kotlinClassName = getUnquotedClassLabel(owner, listOf(makeTypeProjection(componentType, Variance.INVARIANT)))
553553
val kotlinSignature = "$javaSignature?" // TODO: Wrong
554554
val kotlinLabel = "@\"kt_type;nullable;${kotlinClassName}\""

0 commit comments

Comments
 (0)