Fixed KT-4085 Usability problem: Can't import protected nested class

#KT-4085 Fixed
This commit is contained in:
Valentin Kipyatkov
2015-01-20 17:45:50 +03:00
parent 974982463c
commit fa779bbdd2
4 changed files with 50 additions and 2 deletions
@@ -0,0 +1,13 @@
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