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 cffe8a0 commit f55ca73Copy full SHA for f55ca73
lib/AST/Decl.cpp
@@ -3065,13 +3065,13 @@ void ValueDecl::setIsObjC(bool value) {
3065
bool ValueDecl::isSemanticallyFinal() const {
3066
// Actor types are semantically final.
3067
if (auto classDecl = dyn_cast<ClassDecl>(this)) {
3068
- if (classDecl->isActor())
+ if (classDecl->isAnyActor())
3069
return true;
3070
}
3071
3072
// As are members of actor types.
3073
if (auto classDecl = getDeclContext()->getSelfClassDecl()) {
3074
3075
3076
3077
0 commit comments