mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
warn about static methods in interface with same erasure (IDEA-165927)
This commit is contained in:
+5
@@ -0,0 +1,5 @@
|
||||
|
||||
interface Test {
|
||||
<error descr="'foo(A)' clashes with 'foo(B)'; both methods have same erasure">static <A, B> void foo(A a)</error> {}
|
||||
static <A, B> void foo(B b) {}
|
||||
}
|
||||
Reference in New Issue
Block a user