Files
kotlin-fork/idea/testData/quickfix/createFromUsage/createClass/callExpression/beforeCallInLambda.kt
T
2014-11-11 14:42:45 +03:00

7 lines
101 B
Kotlin

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