Skip to content

Commit 824ac9e

Browse files
authored
Merge pull request #10283 from igfoo/igfoo/IrTypeParameter
Kotlin: Remove a redundant cast
2 parents e1a153a + a4d1b33 commit 824ac9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/kotlin-extractor/src/main/kotlin/KotlinUsesExtractor.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -709,7 +709,7 @@ open class KotlinUsesExtractor(
709709
return useSimpleTypeClass(owner, args, s.hasQuestionMark)
710710
}
711711
owner is IrTypeParameter -> {
712-
val javaResult = useTypeParameter(owner as IrTypeParameter)
712+
val javaResult = useTypeParameter(owner)
713713
val aClassId = makeClass("kotlin", "TypeParam") // TODO: Wrong
714714
val kotlinResult = if (true) TypeResult(fakeKotlinType(), "TODO", "TODO") else
715715
if (s.hasQuestionMark) {

0 commit comments

Comments
 (0)