Name Suggester: Suggest parameter name for the corresponding argument expression
#KT-8111 Fixed
This commit is contained in:
+2
-2
@@ -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)
|
||||
}
|
||||
Reference in New Issue
Block a user