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(
14591459 return eraseTypeParameter(owner)
14601460 }
14611461
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-
14681462 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+
14691469 return if (t.arguments.isNotEmpty())
14701470 t.addAnnotations(listOf (RawTypeAnnotation .annotationConstructor))
14711471 else
You can’t perform that action at this time.
0 commit comments