File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
CodeGeneration/Sources/generate-swiftsyntax/templates/swiftsyntax Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ func syntaxNode(emitKind: SyntaxNodeKind) -> SourceFileSyntax {
105
105
ArrayElementSyntax (
106
106
expression: MemberAccessExprSyntax (
107
107
base: child. type. optionalChained ( expr: ExprSyntax ( " \( raw: child. varName. backtickedIfNeeded) " ) ) ,
108
- dot : . periodToken( ) ,
108
+ period : . periodToken( ) ,
109
109
name: " raw "
110
110
)
111
111
)
@@ -169,7 +169,7 @@ func syntaxNode(emitKind: SyntaxNodeKind) -> SourceFileSyntax {
169
169
public var \( raw: child. varName. backtickedIfNeeded) : \( type)
170
170
"""
171
171
) {
172
- AccessorDeclSyntax ( accessorKind : . keyword( . get) ) {
172
+ AccessorDeclSyntax ( accessorSpecifier : . keyword( . get) ) {
173
173
if child. isOptional {
174
174
StmtSyntax ( " return data.child(at: \( raw: index) , parent: Syntax(self)).map( \( raw: childType) .init) " )
175
175
} else {
You can’t perform that action at this time.
0 commit comments