Kotlin: Remove a redundant cast

This commit is contained in:
Ian Lynagh
2022-09-02 17:17:39 +01:00
parent 48761b8667
commit a4d1b33993

View File

@@ -709,7 +709,7 @@ open class KotlinUsesExtractor(
return useSimpleTypeClass(owner, args, s.hasQuestionMark)
}
owner is IrTypeParameter -> {
val javaResult = useTypeParameter(owner as IrTypeParameter)
val javaResult = useTypeParameter(owner)
val aClassId = makeClass("kotlin", "TypeParam") // TODO: Wrong
val kotlinResult = if (true) TypeResult(fakeKotlinType(), "TODO", "TODO") else
if (s.hasQuestionMark) {