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 24f87ac commit 1e1c9f6Copy full SHA for 1e1c9f6
java/kotlin-extractor/src/main/kotlin/KotlinUsesExtractor.kt
@@ -1231,7 +1231,7 @@ open class KotlinUsesExtractor(
1231
fun getInnermostWildcardSupppressionAnnotation(d: IrDeclaration) =
1232
getWildcardSuppressionDirective(d) ?:
1233
// Note not using `parentsWithSelf` as that only works if `d` is an IrDeclarationParent
1234
- d.parents.filterIsInstance<IrAnnotationContainer>().firstNotNullOfOrNull { getWildcardSuppressionDirective(it) } ?:
+ d.parents.filterIsInstance<IrAnnotationContainer>().mapNotNull { getWildcardSuppressionDirective(it) }.firstOrNull() ?:
1235
false
1236
1237
/**
0 commit comments