do not copy overrides for the delegated methods, it causes failure of delegation to traits which extend other traits
This commit is contained in:
committed by
Andrey Breslav
parent
1061e1ef69
commit
82a5beddea
@@ -124,7 +124,7 @@ public class DelegationResolver {
|
||||
if (memberDescriptor.getModality().isOverridable()) {
|
||||
Modality modality = DescriptorUtils.convertModality(memberDescriptor.getModality(), true);
|
||||
CallableMemberDescriptor copy =
|
||||
memberDescriptor.copy(newOwner, modality, false, CallableMemberDescriptor.Kind.DELEGATION, true);
|
||||
memberDescriptor.copy(newOwner, modality, false, CallableMemberDescriptor.Kind.DELEGATION, false);
|
||||
result.add(copy);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user