Skip to content

Commit a4d1b33

Browse files
committed
Kotlin: Remove a redundant cast
1 parent 48761b8 commit a4d1b33

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)