Change Signature: Fix transfer of argument to receiver position

#KT-7987 Fixed
This commit is contained in:
Alexey Sedunov
2015-06-11 19:08:07 +03:00
parent 9bfa437c96
commit e481ed756d
4 changed files with 21 additions and 7 deletions
@@ -0,0 +1,5 @@
fun f(list: List<Any>) {
list.filter { foo(it as String) }
}
fun <caret>foo(s: String): Boolean = true