prefer generics to raw when more specific was not detected (IDEA-67576)

This commit is contained in:
Anna Kozlova
2013-08-15 13:49:50 +04:00
parent c5e3693ce2
commit 215cfff69c
3 changed files with 29 additions and 6 deletions
@@ -0,0 +1,21 @@
package pck;
interface A<T>
{
<S> T foo();
}
interface B
{
<S> Object foo();
}
interface C extends A, B { }
class D
{
void bar(C x)
{
x.foo();
}
}