File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
java/kotlin-extractor/src/main/kotlin Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -1328,7 +1328,7 @@ open class KotlinUsesExtractor(
1328
1328
if (t.isArray() || t.isNullableArray()) {
1329
1329
val elementType = t.getArrayElementType(pluginContext.irBuiltIns)
1330
1330
val erasedElementType = erase(elementType)
1331
- return withQuestionMark(( classifier as IrClassSymbol ).typeWith(erasedElementType), t.hasQuestionMark)
1331
+ return ( classifier as IrClassSymbol ).typeWith(erasedElementType).codeQlWithHasQuestionMark( t.hasQuestionMark)
1332
1332
}
1333
1333
1334
1334
if (owner is IrClass ) {
@@ -1452,6 +1452,4 @@ open class KotlinUsesExtractor(
1452
1452
return tw.getVariableLabelFor<DbLocalvar >(v)
1453
1453
}
1454
1454
1455
- fun withQuestionMark (t : IrType , hasQuestionMark : Boolean ) = if (hasQuestionMark) t.makeNullable() else t.makeNotNull()
1456
-
1457
1455
}
You can’t perform that action at this time.
0 commit comments