check for specific return type should take substitutors into account (IDEA-95129)

This commit is contained in:
anna
2012-11-16 14:22:44 +01:00
parent 97a3052adb
commit 1b745866b9
3 changed files with 16 additions and 2 deletions
@@ -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> {
}