JVM IR: Fix inlining of inline class properties in external modules

This commit is contained in:
Steven Schäfer
2019-11-12 12:21:02 +01:00
committed by Alexander Udalov
parent fa62d0c325
commit 23dfade24f
6 changed files with 35 additions and 7 deletions
@@ -0,0 +1,15 @@
// !LANGUAGE: +InlineClasses
// FILE: A.kt
package a
inline class S(val value: String) {
inline val k: String
get() = value + "K"
}
// FILE: B.kt
fun box(): String {
return a.S("O").k
}