check extends/implements list for nested classes of super type (IDEA-108287)

This commit is contained in:
Anna Kozlova
2013-06-03 22:25:28 +04:00
parent 7db41b19b5
commit 91779d0c81
4 changed files with 36 additions and 0 deletions
@@ -0,0 +1,9 @@
class Foo<T> {
static class Nested {};
}
class Bar extends Foo<<error descr="Nested is not accessible in current context">Bar.Nested</error>> {}
interface FooI<T> {
interface Nested {};
}
interface BarI extends FooI<<error descr="Nested is not accessible in current context">BarI.Nested</error>> {}