[JVM_IR] Fix mangling of inline class inherited interface methods.

^KT-49864 Fixed
This commit is contained in:
Mads Ager
2021-11-24 15:07:33 +01:00
committed by teamcityserver
parent 887e91328f
commit 09da67767e
8 changed files with 81 additions and 3 deletions
@@ -0,0 +1,10 @@
// TARGET_BACKEND: JVM
// JVM_TARGET: 1.8
interface I {
fun foo(): A = A("OK")
}
inline class A(val x: String): I { }
fun box() = A("").foo().x
@@ -0,0 +1,11 @@
// !JVM_DEFAULT_MODE: all
// TARGET_BACKEND: JVM
// JVM_TARGET: 1.8
interface I {
fun foo(): A = A("OK")
}
inline class A(val x: String): I { }
fun box() = A("").foo().x