KT-3856 Wrong inner class inaccessible diagnostic for extension to outer class

#KT-3856 Fixed
This commit is contained in:
Stanislav Erokhin
2016-02-16 18:36:26 +03:00
parent 61cc8394e8
commit 7de2013a3e
5 changed files with 108 additions and 3 deletions
@@ -27,8 +27,8 @@ open class A<T> : J() {
fun test() {
foo()
bar()
val a: Int = <!INACCESSIBLE_OUTER_CLASS_EXPRESSION!>baz()<!>
val b: <!UNRESOLVED_REFERENCE!>T<!> = <!INACCESSIBLE_OUTER_CLASS_EXPRESSION!>baz()<!>
val a: Int = baz()
val b: <!UNRESOLVED_REFERENCE!>T<!> = baz()
}
}