Files

11 lines
237 B
Kotlin
Vendored

fun foo(c : Collection<String>) = {
c.filter{
val s : String? = bar()
if (s == null) false // here!
zoo(<!ARGUMENT_TYPE_MISMATCH!>s<!>)
}
}
fun bar() : String? = null
fun zoo(s : String) : Boolean = true