We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7251e90 + 9764a8c commit 0780886Copy full SHA for 0780886
1 file changed
java/kotlin-extractor/src/main/kotlin/KotlinUsesExtractor.kt
@@ -1365,7 +1365,7 @@ open class KotlinUsesExtractor(
1365
val boundResults = useType(arg.type, TypeContext.GENERIC_ARGUMENT)
1366
val boundLabel = boundResults.javaResult.id.cast<DbReftype>()
1367
1368
- return if(arg.variance == Variance.INVARIANT)
+ if(arg.variance == Variance.INVARIANT)
1369
boundResults.javaResult.cast<DbReftype>().forgetSignature()
1370
else {
1371
val keyPrefix = if (arg.variance == Variance.IN_VARIANCE) "super" else "extends"
@@ -1379,7 +1379,7 @@ open class KotlinUsesExtractor(
1379
}
1380
else -> {
1381
logger.error("Unexpected type argument.")
1382
- return extractJavaErrorType().forgetSignature()
+ extractJavaErrorType().forgetSignature()
1383
1384
1385
0 commit comments