apatrida
12/26/2015, 3:36 PMwhere class object
part)
fun replaceNullsWithDefaults<T : Any>(list : List<T?>) : List<T>
where class object T : Default<T> {
// ...
(as originally seen way back when in https://confluence.jetbrains.com/display/Kotlin/Generics)