13 lines
272 B
Plaintext
Vendored
13 lines
272 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 implemented") //To change body of created functions use File | Settings | File Templates.
|
|
}
|