7 lines
85 B
Plaintext
7 lines
85 B
Plaintext
trait Foo {
|
|
fun foo(f: (Int) -> Unit)
|
|
}
|
|
fun foo(x: Foo) {
|
|
x.foo { it * 2 }
|
|
}
|