"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,5 +1,5 @@
interface X {
fun contains(s: String): Boolean?
operator fun contains(s: String): Boolean?
}
fun foo(s: String, x: X) {