Revert "[all-open] Don't affect private declarations to change their modality to open"
This reverts commit baeee8988e.
This commit is contained in:
@@ -43,7 +43,7 @@ abstract class AbstractAllOpenDeclarationAttributeAltererExtension : Declaration
|
||||
currentModality: Modality,
|
||||
isImplicitModality: Boolean
|
||||
): Modality? {
|
||||
if (currentModality != Modality.FINAL || modifierListOwner.isPrivate()) {
|
||||
if (currentModality != Modality.FINAL) {
|
||||
return null
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user