"contains" now requires to be marked as operator + no heuristic signature for contains needed anymore

This commit is contained in:
Valentin Kipyatkov
2016-01-23 00:57:42 +03:00
parent 1b9c6e0ea2
commit c2065c1856
7 changed files with 17 additions and 23 deletions
@@ -1,6 +1,6 @@
interface X<T>
fun<T> X<T>.contains(t: T): Boolean
operator fun<T> X<T>.contains(t: T): Boolean = true
interface A {
fun<T> createX(t: T): X<T>