Add more "Safe Delete" tests for value parameters
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
package test
|
||||
|
||||
fun String.foo(n: Int, <caret>f: (Int) -> Unit) {
|
||||
println(n)
|
||||
}
|
||||
|
||||
fun bar() {
|
||||
"".foo(10) { n -> println(n) }
|
||||
}
|
||||
Reference in New Issue
Block a user