mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 06:11:42 +07:00
testdata for IDEA-139214
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
class JavaClass {
|
||||
interface I1<T> {
|
||||
void id(T x);
|
||||
}
|
||||
|
||||
static class C1<T> {
|
||||
void id(T x) {
|
||||
}
|
||||
}
|
||||
|
||||
<error descr="'id(T)' in 'JavaClass.I1' clashes with 'id(T)' in 'JavaClass.C1'; both methods have same erasure, yet neither overrides the other">static class C2 extends C1<String> implements I1<Integer></error> {
|
||||
public void id(Integer x) {
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user