moreSpecific: use site info to check assignability, prefer concrete to abstract methods (IDEA-57569)

This commit is contained in:
Anna Kozlova
2013-08-15 13:49:57 +04:00
parent 5b6fe03a18
commit 230c6fd84b
6 changed files with 80 additions and 17 deletions
@@ -0,0 +1,11 @@
package pck;
abstract class C<T> {
abstract Object foo(T x);
String foo(String x) { return null; }
}
class D extends C<String>{
{
foo("");
}
}