Files
kotlin-fork/compiler/testData/diagnostics/tests/imports/ImportProtectedClass.kt
T
Valentin Kipyatkov 4f2ecffee1 Better tests
2015-01-21 20:10:19 +03:00

14 lines
240 B
Kotlin

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