We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07457b2 commit 4a89606Copy full SHA for 4a89606
java/kotlin-extractor/src/main/kotlin/KotlinFileExtractor.kt
@@ -1342,7 +1342,7 @@ open class KotlinFileExtractor(
1342
} else {
1343
var subbedType: IrSimpleType = receiverType
1344
ancestorTypes.forEach {
1345
- val thisClass = subbedType.classifier.owner as IrClass
+ val thisClass = subbedType.classifier.owner
1346
if (thisClass !is IrClass) {
1347
logger.errorElement("Found ancestor with unexpected type ${thisClass.javaClass}", callTarget)
1348
return listOf()
0 commit comments