mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
ensure method signature is highlighted when changes are made inside method body but the actual highlighting is performed on class level (IDEA-141532; IDEA-158137)
This commit is contained in:
+1
-1
@@ -8,6 +8,6 @@ interface A
|
||||
|
||||
<error descr="Class 'B' must either be declared abstract or implement abstract method 'foo(S)' in 'A'">class B implements A</error>
|
||||
{
|
||||
public void foo(Collection<?> x) { }
|
||||
<error descr="'foo(Collection<?>)' in 'B' clashes with 'foo(S)' in 'A'; both methods have same erasure, yet neither overrides the other">public void foo(Collection<?> x)</error> { }
|
||||
public <S extends List<?> & Collection<?>> void foo(S x) { }
|
||||
}
|
||||
Reference in New Issue
Block a user