Name Suggester: Suggest parameter name for the corresponding argument expression

#KT-8111 Fixed
This commit is contained in:
Alexey Sedunov
2015-11-10 15:07:22 +03:00
parent f21603daf2
commit aeee8bafe6
20 changed files with 137 additions and 51 deletions
@@ -1,5 +1,5 @@
// WITH_RUNTIME
fun foo(c : Collection<String>){
val function: (String) -> Boolean = { it.length() > 1 }
c.filterTo(ArrayList<String>(), function)
val predicate: (String) -> Boolean = { it.length() > 1 }
c.filterTo(ArrayList<String>(), predicate)
}