Files
kotlin-fork/idea/testData/quickfix/createFromUsage/createClass/callExpression/afterCallInLambda.kt
T

12 lines
111 B
Kotlin

// "Create class 'Foo'" "true"
fun run<T>(f: () -> T) = f()
fun test() {
run { Foo() }
}
class Foo {
}