@@ -944,7 +944,7 @@ open class KotlinUsesExtractor(
944
944
945
945
946
946
private val jvmWildcardAnnotation = FqName (" kotlin.jvm.JvmWildcard" )
947
- private val jvmWildcardSuppressionAnnotaton = FqName (" kotlin.jvm.JvmSuppressWildcards" )
947
+ private val jvmWildcardSuppressionAnnotation = FqName (" kotlin.jvm.JvmSuppressWildcards" )
948
948
949
949
private fun arrayExtendsAdditionAllowed (t : IrSimpleType ): Boolean =
950
950
// Note the array special case includes Array<*>, which does permit adding `? extends ...` (making `? extends Object[]` in that case)
@@ -977,7 +977,7 @@ open class KotlinUsesExtractor(
977
977
when {
978
978
t.hasAnnotation(jvmWildcardAnnotation) -> true
979
979
! addByDefault -> false
980
- t.hasAnnotation(jvmWildcardSuppressionAnnotaton ) -> false
980
+ t.hasAnnotation(jvmWildcardSuppressionAnnotation ) -> false
981
981
v == Variance .IN_VARIANCE -> ! (t.isNullableAny() || t.isAny())
982
982
v == Variance .OUT_VARIANCE -> extendsAdditionAllowed(t)
983
983
else -> false
@@ -1225,9 +1225,9 @@ open class KotlinUsesExtractor(
1225
1225
}
1226
1226
1227
1227
fun hasWildcardSuppressionAnnotation (d : IrDeclaration ) =
1228
- d.hasAnnotation(jvmWildcardSuppressionAnnotaton ) ||
1228
+ d.hasAnnotation(jvmWildcardSuppressionAnnotation ) ||
1229
1229
// Note not using `parentsWithSelf` as that only works if `d` is an IrDeclarationParent
1230
- d.parents.any { (it as ? IrAnnotationContainer )?.hasAnnotation(jvmWildcardSuppressionAnnotaton ) == true }
1230
+ d.parents.any { (it as ? IrAnnotationContainer )?.hasAnnotation(jvmWildcardSuppressionAnnotation ) == true }
1231
1231
1232
1232
/* *
1233
1233
* Class to hold labels for generated classes around local functions, lambdas, function references, and property references.
0 commit comments