04e8cba857
IR expects overridden symbols of "invoke" in KFunction to be "invoke" in the corresponding Function classes. Before this commit we don't set overriddenSymbol, now we do.
16 lines
248 B
Kotlin
Vendored
16 lines
248 B
Kotlin
Vendored
// TARGET_BACKEND: JVM
|
|
// IGNORE_LIGHT_ANALYSIS
|
|
// WITH_RUNTIME
|
|
// !INHERIT_MULTIFILE_PARTS
|
|
// FILE: box.kt
|
|
|
|
import a.*
|
|
|
|
fun box(): String = (::ok)()
|
|
|
|
// FILE: part1.kt
|
|
@file:[JvmName("MultifileClass") JvmMultifileClass]
|
|
package a
|
|
|
|
fun ok() = "OK"
|