[FIR] Fix nullability of types produced by ConeRawScopeSubstitutor
#KT-66067 Fixed
This commit is contained in:
committed by
Space Team
parent
b6a6b12f0f
commit
5bca945d05
@@ -200,7 +200,7 @@ private fun JavaClassifierType.toConeKotlinTypeForFlexibleBound(
|
||||
// Given `C<T : X>`, `C` -> `C<X>..C<*>?`.
|
||||
when {
|
||||
mode.insideAnnotation -> Array(classifier.allTypeParametersNumber()) { ConeStarProjection }
|
||||
else -> typeParameterSymbols?.getProjectionsForRawType(session)
|
||||
else -> typeParameterSymbols?.getProjectionsForRawType(session, makeNullable = false)
|
||||
?: Array(classifier.allTypeParametersNumber()) { ConeStarProjection }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user