ambiguous method calls: conflict resolver, tests

(IDEA-67919; IDEA-67863; IDEA-67920;
 IDEA-67831; IDEA-67833; IDEA-67674;
 IDEA-67587; IDEA-57646; IDEA-57407;
 IDEA-57279; IDEA-57296; IDEA-57297;
 IDEA-57316; IDEA-57331)
This commit is contained in:
anna
2012-04-06 11:55:43 +02:00
parent 4aaf383d47
commit dc5c191afc
16 changed files with 414 additions and 4 deletions
@@ -0,0 +1,21 @@
package pck;
import java.util.List;
import static pck.C.foo;
import static pck.D.foo;
class C {
static <T> void foo(List<T> x) { }
}
class D {
static <T> String foo(List<T[]> x) { return null; }
}
public class Main {
public static void main(String[] args){
List<String[]> x = null;
foo(x).toLowerCase();
}
}