Can extension functions with a nullable type infer...
# announcements
d
Can extension functions with a nullable type infer nullability on the return, based on the nullability of the callee? Unrealistic example, but i.e.
fun <T : Any> T?.nullableReceiver() : T? = if (this == null) null else this
where
””.nullableReceiver()
would be
String
, rather than
String?