JVM_IR KT-45408 rewrite static calls recursively
This commit is contained in:
committed by
TeamCityServer
parent
e5f218859b
commit
f6baabd98e
@@ -0,0 +1,12 @@
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_RUNTIME
|
||||
|
||||
fun box() = X.tag().d()
|
||||
|
||||
object X {
|
||||
@JvmStatic
|
||||
fun d(): String = "OK"
|
||||
|
||||
@JvmStatic
|
||||
fun tag(): X = this
|
||||
}
|
||||
Reference in New Issue
Block a user