mg6maciej
04/24/2017, 2:37 PMpublic operator fun <T> Iterable<T>.minus(element: T): List<T>
be defined with element as nullable?
public operator fun <T> Iterable<T>.minus(element: T?): List<T>
I.e. if you call listOf<String>(...) - null as String? it would just return the same List<String> and not List<String?> as it currently does.
23 replies
https://youtrack.jetbrains.com/issue/KT-17569