PSI2IR KT-44414 fix adapted reference to imported object member
This commit is contained in:
committed by
TeamCityServer
parent
e7129329d2
commit
d74168fb8f
+13
@@ -0,0 +1,13 @@
|
||||
// DONT_TARGET_EXACT_BACKEND: WASM
|
||||
// WASM_MUTE_REASON: BINDING_RECEIVERS
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
|
||||
import Host.foo
|
||||
|
||||
fun withO(fn: (String) -> String) = fn("O")
|
||||
|
||||
object Host {
|
||||
fun foo(vararg x: String) = x[0] + "K"
|
||||
}
|
||||
|
||||
fun box() = withO(::foo)
|
||||
Reference in New Issue
Block a user