Minor. Get rid of redundant elvis operand in AbstractConeSubstitutor::substituteOrNull
This commit is contained in:
+1
-1
@@ -62,7 +62,7 @@ abstract class AbstractConeSubstitutor : ConeSubstitutor() {
|
||||
|
||||
override fun substituteOrNull(type: ConeKotlinType): ConeKotlinType? {
|
||||
val newType = substituteType(type)
|
||||
return (newType ?: type.substituteRecursive()) ?: newType
|
||||
return (newType ?: type.substituteRecursive())
|
||||
}
|
||||
|
||||
private fun ConeKotlinType.substituteRecursive(): ConeKotlinType? {
|
||||
|
||||
Reference in New Issue
Block a user