don't make raw type equal to anything else (IDEA-192037)

This commit is contained in:
Anna.Kozlova
2018-05-17 11:28:24 +02:00
parent c4ada244b2
commit 99d01ccd8c
4 changed files with 33 additions and 3 deletions
@@ -0,0 +1,7 @@
class Outer<T> {
class Inner { }
Foo<Outer.Inner> m(Foo<Outer<Integer>.Inner> foo) {
<error descr="Incompatible types. Found: 'Foo<Outer<java.lang.Integer>.Inner>', required: 'Foo<Outer.Inner>'">return foo;</error>
}
}
class Foo<X> {}