JVM IR: Fix inline class mangling for calls to internal functions
...in a different module, e.g., using -Xfriend-paths.
This commit is contained in:
committed by
Ilmir Usmanov
parent
6747084fe2
commit
482e217b5e
@@ -0,0 +1,16 @@
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
// FILE: A.kt
|
||||
|
||||
package a
|
||||
|
||||
inline class Message(val value: String)
|
||||
|
||||
class Box {
|
||||
internal fun result(msg: Message): String = msg.value
|
||||
}
|
||||
|
||||
// FILE: B.kt
|
||||
|
||||
fun box(): String {
|
||||
return a.Box().result(a.Message("OK"))
|
||||
}
|
||||
Reference in New Issue
Block a user