PSI2IR KT-44414 fix adapted reference to imported object member

This commit is contained in:
Dmitry Petrov
2021-03-15 18:57:52 +03:00
committed by TeamCityServer
parent e7129329d2
commit d74168fb8f
16 changed files with 235 additions and 14 deletions
@@ -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)