Lambda to anonymous function: use callable builder (KT-7710)
This commit is contained in:
@@ -2,5 +2,7 @@ class Foo
|
||||
fun bar(f: Foo.() -> Unit) {}
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
bar(fun Foo.() {})
|
||||
bar(fun Foo.() {
|
||||
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user