mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge pull request #38186 from DougGregor/actors-and-global-actors
Semantic tweaks to (global) actors to bring them in line with the accepted proposals
This commit is contained in:
@@ -5422,7 +5422,7 @@ public:
|
||||
switch (Reason) {
|
||||
case DeclVisibilityKind::MemberOfProtocolConformedToByCurrentNominal:
|
||||
case DeclVisibilityKind::MemberOfProtocolDerivedByCurrentNominal:
|
||||
if (!C->isFinal())
|
||||
if (!C->isSemanticallyFinal())
|
||||
needRequired = true;
|
||||
break;
|
||||
case DeclVisibilityKind::MemberOfSuper:
|
||||
@@ -5458,7 +5458,7 @@ public:
|
||||
if (D->shouldHideFromEditor())
|
||||
return;
|
||||
|
||||
if (D->isFinal())
|
||||
if (D->isSemanticallyFinal())
|
||||
return;
|
||||
|
||||
bool hasIntroducer = hasFuncIntroducer ||
|
||||
|
||||
Reference in New Issue
Block a user