Files
kotlin/compiler/testData/codegen/boxWithStdlib/reflection/functions/functionFromStdlib.kt
Dmitry Petrov 50ff2a3ad2 Multifile facade should contain reflection data,
otherwise callable references to stdlib functions will not work in the migration scheme.
2015-09-14 17:47:49 +03:00

5 lines
111 B
Kotlin
Vendored

fun doStuff(fn: String.() -> String) = "ok".fn()
fun box(): String {
return doStuff(String::toUpperCase)
}