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