Fix Member.getKPackage and temporarily revert functionFromStdlib.kt
This commit is contained in:
@@ -1,9 +1,6 @@
|
||||
// IGNORE_BACKEND: JS
|
||||
// WITH_REFLECT
|
||||
|
||||
import kotlin.reflect.KFunction1
|
||||
|
||||
fun doStuff(fn: KFunction1<String, String>) = fn.call("ok")
|
||||
fun doStuff(fn: String.() -> String) = "ok".fn()
|
||||
|
||||
fun box(): String {
|
||||
return doStuff(String::toUpperCase)
|
||||
|
||||
Reference in New Issue
Block a user