mirror of
https://github.com/github/codeql.git
synced 2025-12-22 11:46:32 +01:00
Kotlin: Remove a redundant cast
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user