Add intention to convert lambda to anonymous function #KT-7710 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
8ef4b9a8e1
commit
8a20d1bf01
+7
@@ -0,0 +1,7 @@
|
||||
fun foo(f: () -> Int) {
|
||||
f()
|
||||
}
|
||||
|
||||
fun main(args: String) {
|
||||
foo { 1 }
|
||||
}
|
||||
Reference in New Issue
Block a user