Note type substitution TODO done

`getUnquotedClassLabel` uses `useType` on its args to get their labels; consequently they get substituted for Java types as required.
This commit is contained in:
Chris Smowton
2022-02-10 15:31:28 +00:00
committed by Ian Lynagh
parent d103bf65bd
commit 38ad86f850

View File

@@ -313,7 +313,6 @@ open class KotlinUsesExtractor(
val classInstanceResult = useClassInstance(c, args)
val javaClassId = classInstanceResult.typeResult.id
val kotlinQualClassName = getUnquotedClassLabel(c, args).classLabel
// TODO: args ought to be substituted, so e.g. MutableList<MutableList<String>> gets the Java type List<List<String>>
val javaResult = classInstanceResult.typeResult
val kotlinResult = if (true) TypeResult(fakeKotlinType(), "TODO", "TODO") else
if (hasQuestionMark) {