[JVM_IR] Fix mangling of inline class inherited interface methods.
^KT-49864 Fixed
This commit is contained in:
committed by
teamcityserver
parent
887e91328f
commit
09da67767e
+10
@@ -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
|
||||
+11
@@ -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
|
||||
Reference in New Issue
Block a user