mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 23:39:39 +07:00
highlighting for incompatible return types in type parameter inheritors (IDEA-57274)
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
interface I{
|
||||
void foo();
|
||||
}
|
||||
|
||||
abstract class A {
|
||||
abstract int foo();
|
||||
abstract <<error descr="'foo()' in 'A' clashes with 'foo()' in 'I'; attempting to use incompatible return type"></error><error descr="'foo()' in 'A' clashes with 'foo()' in 'I'; attempting to use incompatible return type"></error>T extends A & I> void bar(T x);
|
||||
}
|
||||
Reference in New Issue
Block a user