Files
kotlin-fork/compiler/testData/diagnostics/tests/visibility/privateFromInAnonymousObject.kt
T

21 lines
320 B
Kotlin
Vendored

// FIR_IDENTICAL
// FIR_DUMP
class Base {
private class Private
fun test() {
object {
val x: Private = Private()
init {
val y: Private = Private()
}
fun foo() {
val z: Private = Private()
}
}
}
}