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:
@@ -42,6 +42,8 @@ public class OverridingUtil {
|
|||||||
if (overrides(other, me)) {
|
if (overrides(other, me)) {
|
||||||
continue outerLoop;
|
continue outerLoop;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
for (D other : candidates) {
|
||||||
if (me.getOriginal() == other.getOriginal()
|
if (me.getOriginal() == other.getOriginal()
|
||||||
&& isOverridableBy(JetTypeChecker.INSTANCE, other, me).isSuccess()
|
&& isOverridableBy(JetTypeChecker.INSTANCE, other, me).isSuccess()
|
||||||
&& isOverridableBy(JetTypeChecker.INSTANCE, me, other).isSuccess()) {
|
&& isOverridableBy(JetTypeChecker.INSTANCE, me, other).isSuccess()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user