We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8b97c1 commit 47cf9d1Copy full SHA for 47cf9d1
lib/AST/Decl.cpp
@@ -3075,13 +3075,13 @@ void ValueDecl::setIsObjC(bool value) {
3075
bool ValueDecl::isSemanticallyFinal() const {
3076
// Actor types are semantically final.
3077
if (auto classDecl = dyn_cast<ClassDecl>(this)) {
3078
- if (classDecl->isActor())
+ if (classDecl->isAnyActor())
3079
return true;
3080
}
3081
3082
// As are members of actor types.
3083
if (auto classDecl = getDeclContext()->getSelfClassDecl()) {
3084
3085
3086
3087
0 commit comments