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.
2 parents 06dabe9 + 9c13194 commit 04db521Copy full SHA for 04db521
lib/IDE/CodeCompletionResult.cpp
@@ -177,7 +177,7 @@ ContextFreeCodeCompletionResult::getCodeCompletionDeclKind(const Decl *D) {
177
case DeclKind::Struct:
178
return CodeCompletionDeclKind::Struct;
179
case DeclKind::Class:
180
- if (cast<ClassDecl>(D)->isActor()) {
+ if (cast<ClassDecl>(D)->isAnyActor()) {
181
return CodeCompletionDeclKind::Actor;
182
} else {
183
return CodeCompletionDeclKind::Class;
0 commit comments