mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
testdata for IDEA-138636
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
abstract class C2<T> {
|
||||
public class C3 { }
|
||||
public abstract void n(T obj);
|
||||
}
|
||||
|
||||
<error descr="Class 'Main' must either be declared abstract or implement abstract method 'n(T)' in 'C2'">class Main extends C2<C2.C3></error> {
|
||||
<error descr="Method does not override method from its superclass">@Override</error>
|
||||
public void n(C3 obj) { }
|
||||
}
|
||||
Reference in New Issue
Block a user