Refine naming: *TypeVariable -> *TypeParameter
This commit is contained in:
committed by
TeamCityServer
parent
7c3383bb39
commit
4733a0d970
+1
-1
@@ -285,7 +285,7 @@ class JavaNullabilityChecker(val upperBoundChecker: UpperBoundChecker) : Additio
|
||||
subType: KotlinType,
|
||||
superType: KotlinType
|
||||
): Boolean {
|
||||
if (superType !is NotNullTypeVariable || subType is NotNullTypeVariable) return false
|
||||
if (superType !is NotNullTypeParameter || subType is NotNullTypeParameter) return false
|
||||
return !AbstractNullabilityChecker.isSubtypeOfAny(
|
||||
createClassicTypeCheckerState(isErrorTypeEqualsToAnything = true),
|
||||
subType
|
||||
|
||||
Reference in New Issue
Block a user