Files
kotlin-fork/compiler/testData/codegen/box/jvmPackageName/localClass.kt
T
pyos e6d923f65c FIR: rename HIDDEN to INVISIBLE_REFERENCE
Some of them should be INVISIBLE_MEMBER though
2021-04-21 16:18:21 +03:00

23 lines
377 B
Kotlin
Vendored

// TARGET_BACKEND: JVM
// WITH_RUNTIME
// FILE: anonymousObject.kt
import x.*
fun box(): String =
"OK".z().toString()
// FILE: zlc.kt
@file:Suppress("INVISIBLE_REFERENCE", "INVISIBLE_MEMBER")
@file:kotlin.jvm.JvmPackageName("xx")
package x
fun String.z(): Any {
class Local {
override fun toString(): String =
this@z
}
return Local()
}