7 lines
101 B
Kotlin
7 lines
101 B
Kotlin
// "Create class 'Foo'" "true"
|
|
|
|
fun run<T>(f: () -> T) = f()
|
|
|
|
fun test() {
|
|
run { <caret>Foo() }
|
|
} |