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
@@ -3,6 +3,6 @@ class A {
}
fun apply(x: (A) -> Int) = 2
fun test() {
val function: (A) -> Int = { it.foo() }
apply(function)
val x: (A) -> Int = { it.foo() }
apply(x)
}