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(
1458
1458
return eraseTypeParameter(owner)
1459
1459
}
1460
1460
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
-
1467
1461
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
+
1468
1468
return if (t.arguments.isNotEmpty())
1469
1469
t.addAnnotations(listOf (RawTypeAnnotation .annotationConstructor))
1470
1470
else
You can’t perform that action at this time.
0 commit comments