Skip to content

Commit 8e2a0f1

Browse files
authored
[Syntax] ModifierList is a collection of DeclModifier (#15734)
1 parent 40a7416 commit 8e2a0f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/gyb_syntax_support/DeclNodes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@
322322
# | 'weak'
323323
# mutation-modifier -> 'mutating' | 'nonmutating'
324324
Node('ModifierList', kind='SyntaxCollection',
325-
element='Syntax',
325+
element='DeclModifier',
326326
element_name='Modifier'),
327327

328328
Node('FunctionDecl', kind='Decl', traits=['IdentifiedDecl'],

0 commit comments

Comments
 (0)