@@ -1315,7 +1315,7 @@ public struct ArrowExpr: ExprBuildable, ExpressibleAsArrowExpr {
1315
1315
arrowToken: TokenSyntax = TokenSyntax.`arrow`
1316
1316
) {
1317
1317
self.init(
1318
- asyncKeyword: asyncKeyword.map(TokenSyntax.contextualKeyword ),
1318
+ asyncKeyword: asyncKeyword.map(TokenSyntax.identifier ),
1319
1319
throwsToken: throwsToken,
1320
1320
arrowToken: arrowToken
1321
1321
)
@@ -2464,7 +2464,7 @@ public struct ClosureSignature: SyntaxBuildable, ExpressibleAsClosureSignature {
2464
2464
attributes: attributesBuilder(),
2465
2465
capture: capture,
2466
2466
input: input,
2467
- asyncKeyword: asyncKeyword.map(TokenSyntax.contextualKeyword ),
2467
+ asyncKeyword: asyncKeyword.map(TokenSyntax.identifier ),
2468
2468
throwsTok: throwsTok,
2469
2469
output: output,
2470
2470
inTok: inTok
@@ -4356,7 +4356,7 @@ public struct FunctionSignature: SyntaxBuildable, ExpressibleAsFunctionSignature
4356
4356
) {
4357
4357
self.init(
4358
4358
input: input,
4359
- asyncOrReasyncKeyword: asyncOrReasyncKeyword.map(TokenSyntax.contextualKeyword ),
4359
+ asyncOrReasyncKeyword: asyncOrReasyncKeyword.map(TokenSyntax.identifier ),
4360
4360
throwsOrRethrowsKeyword: throwsOrRethrowsKeyword,
4361
4361
output: output
4362
4362
)
@@ -6533,7 +6533,7 @@ public struct AccessorDecl: DeclBuildable, ExpressibleAsAccessorDecl {
6533
6533
modifier: modifier,
6534
6534
accessorKind: accessorKind,
6535
6535
parameter: parameter,
6536
- asyncKeyword: asyncKeyword.map(TokenSyntax.contextualKeyword ),
6536
+ asyncKeyword: asyncKeyword.map(TokenSyntax.identifier ),
6537
6537
throwsKeyword: throwsKeyword,
6538
6538
body: body
6539
6539
)
@@ -12433,7 +12433,7 @@ public struct FunctionType: TypeBuildable, ExpressibleAsFunctionType {
12433
12433
public init(
12434
12434
leftParen: TokenSyntax = TokenSyntax.`leftParen`,
12435
12435
rightParen: TokenSyntax = TokenSyntax.`rightParen`,
12436
- asyncKeyword: TokenSyntax? = nil ,
12436
+ asyncKeyword: String? ,
12437
12437
throwsOrRethrowsKeyword: TokenSyntax? = nil,
12438
12438
arrow: TokenSyntax = TokenSyntax.`arrow`,
12439
12439
returnType: ExpressibleAsTypeBuildable,
@@ -12443,7 +12443,7 @@ public struct FunctionType: TypeBuildable, ExpressibleAsFunctionType {
12443
12443
leftParen: leftParen,
12444
12444
arguments: argumentsBuilder(),
12445
12445
rightParen: rightParen,
12446
- asyncKeyword: asyncKeyword,
12446
+ asyncKeyword: asyncKeyword.map(TokenSyntax.identifier) ,
12447
12447
throwsOrRethrowsKeyword: throwsOrRethrowsKeyword,
12448
12448
arrow: arrow,
12449
12449
returnType: returnType
0 commit comments