9946bfcdfd
^KT-53698 Fixed
21 lines
331 B
Kotlin
Vendored
21 lines
331 B
Kotlin
Vendored
// TARGET_BACKEND: JVM_IR
|
|
// ISSUE: KT-53698
|
|
// MODULE: lib
|
|
package foo
|
|
|
|
class Some(val s: String)
|
|
|
|
internal fun Some.foo(): String = s
|
|
|
|
// MODULE: main(lib)
|
|
@file:Suppress("INVISIBLE_REFERENCE", "INVISIBLE_MEMBER")
|
|
package bar
|
|
|
|
import foo.Some
|
|
import foo.foo
|
|
|
|
fun box(): String {
|
|
val some = Some("OK")
|
|
return some.foo()
|
|
}
|