PSI2IR KT-44414 fix adapted reference to imported object member
This commit is contained in:
committed by
TeamCityServer
parent
e7129329d2
commit
d74168fb8f
+11
@@ -0,0 +1,11 @@
|
||||
// SKIP_KT_DUMP
|
||||
import Host.foo
|
||||
|
||||
fun withO(fn: (String) -> String) = fn("O")
|
||||
|
||||
object Host {
|
||||
fun foo(vararg x: String) = "K"
|
||||
}
|
||||
|
||||
fun test1() = withO(::foo)
|
||||
fun test2() = withO(Host::foo)
|
||||
Reference in New Issue
Block a user