@@ -1315,7 +1315,7 @@ public struct ArrowExpr: ExprBuildable, ExpressibleAsArrowExpr {
13151315 arrowToken: TokenSyntax = TokenSyntax.`arrow`
13161316 ) {
13171317 self.init(
1318- asyncKeyword: asyncKeyword.map(TokenSyntax.identifier ),
1318+ asyncKeyword: asyncKeyword.map(TokenSyntax.contextualKeyword ),
13191319 throwsToken: throwsToken,
13201320 arrowToken: arrowToken
13211321 )
@@ -2464,7 +2464,7 @@ public struct ClosureSignature: SyntaxBuildable, ExpressibleAsClosureSignature {
24642464 attributes: attributesBuilder(),
24652465 capture: capture,
24662466 input: input,
2467- asyncKeyword: asyncKeyword.map(TokenSyntax.identifier ),
2467+ asyncKeyword: asyncKeyword.map(TokenSyntax.contextualKeyword ),
24682468 throwsTok: throwsTok,
24692469 output: output,
24702470 inTok: inTok
@@ -4356,7 +4356,7 @@ public struct FunctionSignature: SyntaxBuildable, ExpressibleAsFunctionSignature
43564356 ) {
43574357 self.init(
43584358 input: input,
4359- asyncOrReasyncKeyword: asyncOrReasyncKeyword.map(TokenSyntax.identifier ),
4359+ asyncOrReasyncKeyword: asyncOrReasyncKeyword.map(TokenSyntax.contextualKeyword ),
43604360 throwsOrRethrowsKeyword: throwsOrRethrowsKeyword,
43614361 output: output
43624362 )
@@ -6533,7 +6533,7 @@ public struct AccessorDecl: DeclBuildable, ExpressibleAsAccessorDecl {
65336533 modifier: modifier,
65346534 accessorKind: accessorKind,
65356535 parameter: parameter,
6536- asyncKeyword: asyncKeyword.map(TokenSyntax.identifier ),
6536+ asyncKeyword: asyncKeyword.map(TokenSyntax.contextualKeyword ),
65376537 throwsKeyword: throwsKeyword,
65386538 body: body
65396539 )
@@ -12433,7 +12433,7 @@ public struct FunctionType: TypeBuildable, ExpressibleAsFunctionType {
1243312433 public init(
1243412434 leftParen: TokenSyntax = TokenSyntax.`leftParen`,
1243512435 rightParen: TokenSyntax = TokenSyntax.`rightParen`,
12436- asyncKeyword: String? ,
12436+ asyncKeyword: TokenSyntax? = nil ,
1243712437 throwsOrRethrowsKeyword: TokenSyntax? = nil,
1243812438 arrow: TokenSyntax = TokenSyntax.`arrow`,
1243912439 returnType: ExpressibleAsTypeBuildable,
@@ -12443,7 +12443,7 @@ public struct FunctionType: TypeBuildable, ExpressibleAsFunctionType {
1244312443 leftParen: leftParen,
1244412444 arguments: argumentsBuilder(),
1244512445 rightParen: rightParen,
12446- asyncKeyword: asyncKeyword.map(TokenSyntax.identifier) ,
12446+ asyncKeyword: asyncKeyword,
1244712447 throwsOrRethrowsKeyword: throwsOrRethrowsKeyword,
1244812448 arrow: arrow,
1244912449 returnType: returnType
0 commit comments