Intention convert object literal to lambda should add parameters if there are more than one

This commit is contained in:
Natalia Ukhorskaya
2015-12-16 14:17:32 +03:00
parent 5e231db631
commit cc259c2d15
7 changed files with 42 additions and 8 deletions
@@ -0,0 +1,9 @@
// WITH_RUNTIME
import java.io.File
import java.io.FilenameFilter
fun foo(filter: FilenameFilter) {}
fun bar() {
foo(FilenameFilter { file, name -> true })
}