KT-315 I need list of FunctionDEscriptors to be taken from traits

One of the duplicates must remain in the list
This commit is contained in:
Andrey Breslav
2011-09-22 20:08:50 +04:00
parent 29470fa1d1
commit b759fb59e6
@@ -42,6 +42,8 @@ public class OverridingUtil {
if (overrides(other, me)) {
continue outerLoop;
}
}
for (D other : candidates) {
if (me.getOriginal() == other.getOriginal()
&& isOverridableBy(JetTypeChecker.INSTANCE, other, me).isSuccess()
&& isOverridableBy(JetTypeChecker.INSTANCE, me, other).isSuccess()) {