Open levinson opened 8 years ago
For me foo.exists(bar.contains)
gives a false positive (because Any is inferred by the compiler instead of String - am investigating why), but the other two work as expected.
Ah, my bad, it seems that foo.exists(bar.contains(_)) does indeed work. Thanks for looking into the issue. :+1:
I've found a false positive with the ContainsTypeMismatch:
fails with the following:
... but works with: