[FIR2IR] Fix generation of Any method call on expect receiver
#KT-57583 Fixed
This commit is contained in:
committed by
Space Team
parent
ed99f8bcdd
commit
ee78c31174
@@ -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"
|
||||
Reference in New Issue
Block a user