Add more "Safe Delete" tests for value parameters

This commit is contained in:
Alexey Sedunov
2014-01-24 14:50:42 +04:00
parent 5f69317f1e
commit 624ac55415
24 changed files with 221 additions and 0 deletions
@@ -0,0 +1,9 @@
package test
fun String.foo(n: Int, <caret>f: (Int) -> Unit) {
println(n)
}
fun bar() {
"".foo(10) { n -> println(n) }
}