[FIR] Use coneType instead of coneTypeSafe<ConeKotlinType> in checkers and fir2ir

This commit is contained in:
Ivan Kochurkin
2022-06-17 13:08:18 +03:00
committed by teamcity
parent 02ac6110bd
commit 37ccd85e59
11 changed files with 19 additions and 26 deletions
@@ -179,8 +179,7 @@ private fun ConeTypeParameterType.hasNotNullUpperBound(): Boolean {
}
val FirTypeRef.canBeNull: Boolean
// TODO: replace with coneType (for some reason, implicit type still can arise here)
get() = coneTypeSafe<ConeKotlinType>()?.canBeNull == true
get() = coneType.canBeNull
val ConeKotlinType.canBeNull: Boolean
get() {