JVM_IR: use correct dispatch receiver type in more references

#KT-46902 Fixed
This commit is contained in:
pyos
2021-05-26 10:45:16 +02:00
committed by max-kammerer
parent 16dbafced1
commit d37ceb47be
17 changed files with 69 additions and 59 deletions
@@ -0,0 +1,12 @@
class A {
inner class C(val m: String) {
fun test(): String {
m.f(::C)
return m
}
}
}
inline fun String.f(g: (String) -> A.C): A.C = g(this)
fun box(): String = A().C("OK").test()