mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-13 09:19:13 +07:00
testdata for IDEA-67841
This commit is contained in:
+21
@@ -0,0 +1,21 @@
|
||||
package pck;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
import static pck.D.foo;
|
||||
import static pck.C.foo;
|
||||
|
||||
public class C {
|
||||
static <T extends Collection<S>, S> void foo(T x) { }
|
||||
}
|
||||
|
||||
class D {
|
||||
static <T extends List<S>, S> String foo(T x) { return null; }
|
||||
}
|
||||
|
||||
class B{
|
||||
public static void bar(){
|
||||
foo(null).toLowerCase();
|
||||
}
|
||||
}
|
||||
@@ -152,6 +152,10 @@ public class AdvHighlightingJdk7Test extends DaemonAnalyzerTestCase {
|
||||
doTestAmbiguous();
|
||||
}
|
||||
|
||||
public void testAmbiguousIDEA67841() throws Exception {
|
||||
doTestAmbiguous();
|
||||
}
|
||||
|
||||
public void testAmbiguousIDEA57535() throws Exception {
|
||||
doTestAmbiguous();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user