JVM_IR: use correct dispatch receiver type in more references
#KT-46902 Fixed
This commit is contained in:
@@ -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()
|
||||
Reference in New Issue
Block a user