mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-21 05:51:25 +07:00
testdata for IDEA-130243
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
class Test {
|
||||
|
||||
public enum EXT {
|
||||
TOP, BOTTOM
|
||||
}
|
||||
|
||||
public static <C extends Comparable<? extends C>> C min(C c1, C... c2) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public static <C extends Comparable<? extends C>> C min(EXT ext, C c1, C... c2) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
min("a", "b", "c");
|
||||
min(EXT.TOP, "a", "b", "c");
|
||||
}
|
||||
}
|
||||
@@ -539,6 +539,10 @@ public class GenericsHighlightingTest extends LightDaemonAnalyzerTestCase {
|
||||
doTest(LanguageLevel.JDK_1_7, JavaSdkVersion.JDK_1_7, false);
|
||||
}
|
||||
|
||||
public void testIDEA130243() throws Exception {
|
||||
doTest(LanguageLevel.JDK_1_7, JavaSdkVersion.JDK_1_7, false);
|
||||
}
|
||||
|
||||
public void testProvablyDistinctForWildcardsWithArrayBounds() throws Exception {
|
||||
doTest(LanguageLevel.JDK_1_7, JavaSdkVersion.JDK_1_7, false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user