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:
@@ -7720,7 +7720,7 @@ static bool isNonFinalClass(Type type) {
|
||||
type = dynamicSelf->getSelfType();
|
||||
|
||||
if (auto classDecl = type->getClassOrBoundGenericClass())
|
||||
return !classDecl->isFinal();
|
||||
return !classDecl->isSemanticallyFinal();
|
||||
|
||||
if (auto archetype = type->getAs<ArchetypeType>())
|
||||
if (auto super = archetype->getSuperclass())
|
||||
|
||||
Reference in New Issue
Block a user