IR: fix mangling of toplevel properties

This commit is contained in:
Georgy Bronnikov
2021-07-20 18:52:06 +03:00
committed by TeamCityServer
parent 54957ead5c
commit fb801bdc33
7 changed files with 43 additions and 1 deletions
@@ -0,0 +1,10 @@
// TARGET_BACKEND: JVM_IR
// WITH_RUNTIME
// FILE: 1.kt
inline fun inlineCallingIndices(): String {
val i1 = arrayOf("one", "two").indices
return "OK"
}
// FILE: 2.kt
fun box() = inlineCallingIndices()