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(
13281328 if (t.isArray() || t.isNullableArray()) {
13291329 val elementType = t.getArrayElementType(pluginContext.irBuiltIns)
13301330 val erasedElementType = erase(elementType)
1331- return withQuestionMark(( classifier as IrClassSymbol ).typeWith(erasedElementType), t.hasQuestionMark)
1331+ return ( classifier as IrClassSymbol ).typeWith(erasedElementType).codeQlWithHasQuestionMark( t.hasQuestionMark)
13321332 }
13331333
13341334 if (owner is IrClass ) {
@@ -1452,6 +1452,4 @@ open class KotlinUsesExtractor(
14521452 return tw.getVariableLabelFor<DbLocalvar >(v)
14531453 }
14541454
1455- fun withQuestionMark (t : IrType , hasQuestionMark : Boolean ) = if (hasQuestionMark) t.makeNullable() else t.makeNotNull()
1456-
14571455}
You can’t perform that action at this time.
0 commit comments