79fe48ab5b
#KT-60536 Fixed
22 lines
310 B
Kotlin
Vendored
22 lines
310 B
Kotlin
Vendored
// MODULE: lib
|
|
// FILE: lib.kt
|
|
package lib
|
|
|
|
interface Key {
|
|
val s get() = "OK"
|
|
}
|
|
|
|
internal class Internal {
|
|
companion object : Key
|
|
}
|
|
|
|
// MODULE: box(lib)
|
|
// FILE: box.kt
|
|
package app
|
|
|
|
import lib.*
|
|
|
|
fun foo(key: Key) = key.s
|
|
|
|
@Suppress("INVISIBLE_REFERENCE", "INVISIBLE_MEMBER")
|
|
fun box() = foo(Internal) |