Skip to content

Commit 9c13194

Browse files
authored
[Distributed] Make distributed actors show up as actors in code completion
1 parent d8ebecf commit 9c13194

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/IDE/CodeCompletionResult.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ ContextFreeCodeCompletionResult::getCodeCompletionDeclKind(const Decl *D) {
177177
case DeclKind::Struct:
178178
return CodeCompletionDeclKind::Struct;
179179
case DeclKind::Class:
180-
if (cast<ClassDecl>(D)->isActor()) {
180+
if (cast<ClassDecl>(D)->isAnyActor()) {
181181
return CodeCompletionDeclKind::Actor;
182182
} else {
183183
return CodeCompletionDeclKind::Class;

0 commit comments

Comments
 (0)