Make "Specify explicit lambda signature" available on whole lambda
So #KT-22492 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
059a797e10
commit
5499078fcc
@@ -0,0 +1,4 @@
|
||||
fun foo(f: (String) -> Int) {}
|
||||
fun test() {
|
||||
foo { it.length <caret>}
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
fun foo(f: (String) -> Int) {}
|
||||
fun test() {
|
||||
foo { it: String -> it.length <caret>}
|
||||
}
|
||||
-4
@@ -1,4 +0,0 @@
|
||||
// IS_APPLICABLE: false
|
||||
fun main() {
|
||||
val sum : (Int, Int) -> Int = { x, y -> <caret>x + y }
|
||||
}
|
||||
Reference in New Issue
Block a user