9 lines
113 B
Kotlin
Vendored
9 lines
113 B
Kotlin
Vendored
fun (() -> Int).foo(x: Int, y: Int): Int {
|
|
return x + this()
|
|
}
|
|
|
|
fun bar() {
|
|
{
|
|
3
|
|
}.foo(1, 2)
|
|
} |