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 837bef6 commit 3901f57Copy full SHA for 3901f57
java/kotlin-extractor/src/main/kotlin/KotlinUsesExtractor.kt
@@ -97,7 +97,7 @@ open class KotlinUsesExtractor(
97
fun getSpecialJvmName(f: IrFunction): String? {
98
if (specialFunctionShortNames.contains(f.name) && f is IrSimpleFunction) {
99
f.allOverridden(true).forEach { overriddenFunc ->
100
- overriddenFunc.parentAsClass.fqNameWhenAvailable?.let { parentFqName ->
+ overriddenFunc.parentClassOrNull?.fqNameWhenAvailable?.let { parentFqName ->
101
specialFunctions[MethodKey(parentFqName, f.name)]?.let {
102
return it
103
}
0 commit comments