Files
kotlin-fork/idea/testData/quickfix/createFromUsage/createFunction/call/inLambda.kt.after
T
2019-11-13 08:37:25 +09:00

13 lines
200 B
Plaintext
Vendored

// "Create function 'foo'" "true"
// COMPILER_ARGUMENTS: -XXLanguage:-NewInference
fun <T> run(f: () -> T) = f()
fun test() {
run { foo() }
}
fun foo(): Any {
TODO("Not yet implemented")
}