return type equivalence: compare supers with current method (IDEA-147335)

This commit is contained in:
Anna Kozlova
2016-01-07 20:14:48 +01:00
parent 3793131697
commit c16e402bed
3 changed files with 19 additions and 4 deletions
@@ -0,0 +1,12 @@
abstract class Child implements Human {}
interface Human extends Mother, Father {
Human me();
}
interface Father {
Father me();
}
interface Mother {
Mother me();
}