[FIR2IR] Fix generation of Any method call on expect receiver

#KT-57583 Fixed
This commit is contained in:
Kirill Rakhman
2023-03-28 11:05:52 +02:00
committed by Space Team
parent ed99f8bcdd
commit ee78c31174
17 changed files with 111 additions and 6 deletions
@@ -0,0 +1,18 @@
// IGNORE_BACKEND_K1: ANY
// !LANGUAGE: +MultiPlatformProjects
// MODULE: common
// FILE: common.kt
expect class Runnable
fun foo(arg: Runnable) {
arg.hashCode()
}
// MODULE: main()()(common)
// FILE: test.kt
actual class Runnable
fun box() = "OK"