7 lines
112 B
Kotlin
Vendored
7 lines
112 B
Kotlin
Vendored
class A {
|
|
fun foo() = 1
|
|
}
|
|
fun apply(x: (A) -> Int) = 2
|
|
fun test() {
|
|
apply<selection>{it.foo()}</selection>
|
|
} |