Files
kotlin-fork/compiler/testData/diagnostics/tests/imports/ImportProtectedClass.fir.kt
T
2021-11-26 11:26:17 +03:00

15 lines
267 B
Kotlin
Vendored

package p
import p.Foo.Nested
open class Foo {
protected class Nested
}
class Bar: Foo() {
protected fun foo(): Nested? = null
}
private fun foo(): <!INVISIBLE_REFERENCE!>Nested<!>? = null
private fun bar(): <!INVISIBLE_REFERENCE!>p.Foo.Nested<!>? = null