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 @@ -1459,13 +1459,13 @@ open class KotlinUsesExtractor(
1459
1459
return eraseTypeParameter(owner)
1460
1460
}
1461
1461
1462
- if (t.isArray() || t.isNullableArray()) {
1463
- val elementType = t.getArrayElementType(pluginContext.irBuiltIns)
1464
- val erasedElementType = erase(elementType)
1465
- return (classifier as IrClassSymbol ).typeWith(erasedElementType).codeQlWithHasQuestionMark(t.hasQuestionMark)
1466
- }
1467
-
1468
1462
if (owner is IrClass ) {
1463
+ if (t.isArray() || t.isNullableArray()) {
1464
+ val elementType = t.getArrayElementType(pluginContext.irBuiltIns)
1465
+ val erasedElementType = erase(elementType)
1466
+ return owner.typeWith(erasedElementType).codeQlWithHasQuestionMark(t.hasQuestionMark)
1467
+ }
1468
+
1469
1469
return if (t.arguments.isNotEmpty())
1470
1470
t.addAnnotations(listOf (RawTypeAnnotation .annotationConstructor))
1471
1471
else
You can’t perform that action at this time.
0 commit comments