tschuchort
05/16/2018, 7:28 PM?
from a nullable type parameter? I have a function (A<T>) -> A<T>
where the T
in the argument can be null, but the T
in the returned value is always non-null (imagine something like List<T>::filterNotNull
). But the compiler can not infer this.