Intention to convert anonymous function to lambda
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
class Foo(f: () -> Unit)
|
||||
|
||||
fun main(args: String) {
|
||||
Foo { val p = 1 }
|
||||
}
|
||||
Reference in New Issue
Block a user