Skip to content

Commit 6552d86

Browse files
committed
[Syntax] The body of a deinitializer is optional
1 parent 1b41972 commit 6552d86

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
@@ -469,7 +469,7 @@
469469
Child('Modifiers', kind='ModifierList',
470470
collection_element_name='Modifier', is_optional=True),
471471
Child('DeinitKeyword', kind='DeinitToken'),
472-
Child('Body', kind='CodeBlock'),
472+
Child('Body', kind='CodeBlock', is_optional=True),
473473
]),
474474

475475
Node('SubscriptDecl', kind='Decl',

0 commit comments

Comments
 (0)