Skip to content

Commit 188cf5c

Browse files
committed
[Parser] Produce the appropriate syntax node kind for actors.
1 parent 9b17cc4 commit 188cf5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Parse/ParseDecl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4723,7 +4723,7 @@ Parser::parseDecl(ParseDeclOptions Flags,
47234723

47244724
if (Tok.isContextualKeyword("actor") && peekToken().is(tok::identifier)) {
47254725
Tok.setKind(tok::contextual_keyword);
4726-
DeclParsingContext.setCreateSyntax(SyntaxKind::ClassDecl);
4726+
DeclParsingContext.setCreateSyntax(SyntaxKind::ActorDecl);
47274727
DeclResult = parseDeclClass(Flags, Attributes);
47284728
break;
47294729
}

0 commit comments

Comments
 (0)