File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
java/kotlin-extractor/src/main/kotlin Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -1458,13 +1458,13 @@ open class KotlinUsesExtractor(
14581458 return eraseTypeParameter(owner)
14591459 }
14601460
1461- if (t.isArray() || t.isNullableArray()) {
1462- val elementType = t.getArrayElementType(pluginContext.irBuiltIns)
1463- val erasedElementType = erase(elementType)
1464- return (classifier as IrClassSymbol ).typeWith(erasedElementType).codeQlWithHasQuestionMark(t.hasQuestionMark)
1465- }
1466-
14671461 if (owner is IrClass ) {
1462+ if (t.isArray() || t.isNullableArray()) {
1463+ val elementType = t.getArrayElementType(pluginContext.irBuiltIns)
1464+ val erasedElementType = erase(elementType)
1465+ return owner.typeWith(erasedElementType).codeQlWithHasQuestionMark(t.hasQuestionMark)
1466+ }
1467+
14681468 return if (t.arguments.isNotEmpty())
14691469 t.addAnnotations(listOf (RawTypeAnnotation .annotationConstructor))
14701470 else
You can’t perform that action at this time.
0 commit comments