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:
Anna.Kozlova
2016-07-13 11:43:16 +02:00
parent 8e7077bb5b
commit f27c5080f6
3 changed files with 29 additions and 3 deletions
@@ -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) { }
}