mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 23:39:39 +07:00
skip extends Object during new type param creation; test for IDEA-57449
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
abstract class A1<X>{
|
||||
abstract <T> void foo(T t, X x);
|
||||
}
|
||||
|
||||
class B1<T> extends A1<T>{
|
||||
@Override
|
||||
<T1> void foo(T1 t1, T t) {
|
||||
<selection>//To change body of implemented methods use File | Settings | File Templates.</selection>
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
abstract class A1<X>{
|
||||
abstract <T> void foo(T t, X x);
|
||||
}
|
||||
|
||||
class B1<T> extends A1<T>{
|
||||
<caret>
|
||||
}
|
||||
@@ -63,6 +63,7 @@ public class OverrideImplementTest extends LightCodeInsightTestCase {
|
||||
public void testSimplifyObjectWildcard() { doTest(false); }
|
||||
public void testErasureWildcard() { doTest(false); }
|
||||
public void testMultipleInterfaceInheritance() { doTest(false); }
|
||||
public void testResolveTypeParamConflict() { doTest(false); }
|
||||
|
||||
public void testImplementExtensionMethods() { doTest8(false, true); }
|
||||
public void testDoNotImplementExtensionMethods() { doTest8(false, true); }
|
||||
|
||||
Reference in New Issue
Block a user