mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-09 20:42:52 +07:00
check for specific return type should take substitutors into account (IDEA-95129)
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
abstract class Field<D> {
|
||||
public D getValue(){return null;}
|
||||
}
|
||||
|
||||
class LabelField extends Field<Object> {
|
||||
public Object getValue() { return null; }
|
||||
}
|
||||
interface MyInterface<D> {
|
||||
D getValue();
|
||||
}
|
||||
|
||||
class MyLabelField extends LabelField implements MyInterface<Object> {
|
||||
}
|
||||
Reference in New Issue
Block a user