7 lines
95 B
Plaintext
Vendored
7 lines
95 B
Plaintext
Vendored
interface Foo {
|
|
infix fun foo(f: (Int) -> Unit)
|
|
}
|
|
fun foo(x: Foo) {
|
|
x.foo { it * 2 }
|
|
}
|