[JVM_IR] Avoid using special names in static inline class replacements.
Fixes KT-46952
This commit is contained in:
committed by
Alexander Udalov
parent
b1ab597616
commit
f846dd8ea2
@@ -0,0 +1,8 @@
|
||||
inline class C(val s: String)
|
||||
|
||||
fun f(g: () -> C): C = g()
|
||||
|
||||
val C.foo: C
|
||||
get() = f { this }
|
||||
|
||||
fun box() = C("OK").foo.s
|
||||
Reference in New Issue
Block a user