9c4f8f7e54
When resolving inline class methods in binary dependencies we look for methods matching both the new and the old mangling scheme. On the IR backend the method signature has to be computed for the inline class replacement, since the logic for signature mangling is not contained in the method signature mapping, unlike in the old backend.
12 lines
159 B
Kotlin
Vendored
12 lines
159 B
Kotlin
Vendored
// FILE: A.kt
|
|
|
|
inline class A(val x: String) {
|
|
inline fun f(other: A): A = other
|
|
}
|
|
|
|
// FILE: B.kt
|
|
|
|
fun box(): String {
|
|
return A("Fail").f(A("OK")).x
|
|
}
|