@@ -944,7 +944,7 @@ open class KotlinUsesExtractor(
944944
945945
946946 private val jvmWildcardAnnotation = FqName (" kotlin.jvm.JvmWildcard" )
947- private val jvmWildcardSuppressionAnnotaton = FqName (" kotlin.jvm.JvmSuppressWildcards" )
947+ private val jvmWildcardSuppressionAnnotation = FqName (" kotlin.jvm.JvmSuppressWildcards" )
948948
949949 private fun arrayExtendsAdditionAllowed (t : IrSimpleType ): Boolean =
950950 // 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(
977977 when {
978978 t.hasAnnotation(jvmWildcardAnnotation) -> true
979979 ! addByDefault -> false
980- t.hasAnnotation(jvmWildcardSuppressionAnnotaton ) -> false
980+ t.hasAnnotation(jvmWildcardSuppressionAnnotation ) -> false
981981 v == Variance .IN_VARIANCE -> ! (t.isNullableAny() || t.isAny())
982982 v == Variance .OUT_VARIANCE -> extendsAdditionAllowed(t)
983983 else -> false
@@ -1225,9 +1225,9 @@ open class KotlinUsesExtractor(
12251225 }
12261226
12271227 fun hasWildcardSuppressionAnnotation (d : IrDeclaration ) =
1228- d.hasAnnotation(jvmWildcardSuppressionAnnotaton ) ||
1228+ d.hasAnnotation(jvmWildcardSuppressionAnnotation ) ||
12291229 // 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 }
12311231
12321232 /* *
12331233 * Class to hold labels for generated classes around local functions, lambdas, function references, and property references.
0 commit comments