Skip to content

Commit a76d71f

Browse files
committed
[SwiftSyntax] Use TokenSyntax
Moving to `TokenSyntax` as then we can use dot notation
1 parent 7a1ab7a commit a76d71f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/gyb_syntax_support/kinds.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,6 @@ def syntax_buildable_default_init_value(child, token):
5959
if child.is_optional:
6060
return " = nil"
6161
elif token and token.text:
62-
return " = Tokens.`%s`" % lowercase_first_word(token.name)
62+
return " = TokenSyntax.`%s`" % lowercase_first_word(token.name)
6363
else:
6464
return ""

0 commit comments

Comments
 (0)