Skip to content

Commit 97ef9bf

Browse files
authored
Merge pull request #61118 from CodaFi/sin-tax
2 parents 5e8dc12 + 58c782d commit 97ef9bf

File tree

3 files changed

+8
-26
lines changed

3 files changed

+8
-26
lines changed

test/Syntax/serialize_distributed-actor.swift

Lines changed: 0 additions & 8 deletions
This file was deleted.

test/Syntax/serialize_main_actor.swift

Lines changed: 0 additions & 16 deletions
This file was deleted.

unittests/Syntax/DeclSyntaxTests.cpp

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,10 @@ FunctionParameterSyntax getCannedFunctionParameter(const RC<SyntaxArena> &Arena)
261261
auto Comma = Factory.makeCommaToken("", " ");
262262

263263
return Factory.makeFunctionParameter(
264-
/*UnexpectedNodes=*/None, None, /*UnexpectedNodes=*/None, ExternalName,
264+
/*UnexpectedNodes=*/None, None,
265+
/*UnexpectedNodes=*/None, None,
266+
/*UnexpectedNodes=*/None, None,
267+
/*UnexpectedNodes=*/None, ExternalName,
265268
/*UnexpectedNodes=*/None, LocalName, /*UnexpectedNodes=*/None, Colon,
266269
/*UnexpectedNodes=*/None, Int, /*UnexpectedNodes=*/None, NoEllipsis,
267270
/*UnexpectedNodes=*/None, DefaultArg, /*UnexpectedNodes=*/None, Comma);
@@ -305,7 +308,10 @@ TEST(DeclSyntaxTests, FunctionParameterGetAPIs) {
305308
auto Comma = Factory.makeCommaToken("", "");
306309

307310
auto Param = Factory.makeFunctionParameter(
308-
/*UnexpectedNodes=*/None, None, /*UnexpectedNodes=*/None, ExternalName,
311+
/*UnexpectedNodes=*/None, None,
312+
/*UnexpectedNodes=*/None, None,
313+
/*UnexpectedNodes=*/None, None,
314+
/*UnexpectedNodes=*/None, ExternalName,
309315
/*UnexpectedNodes=*/None, LocalName, /*UnexpectedNodes=*/None, Colon,
310316
/*UnexpectedNodes=*/None, Int, /*UnexpectedNodes=*/None, NoEllipsis,
311317
/*UnexpectedNodes=*/None, DefaultArg, /*UnexpectedNodes=*/None, Comma);

0 commit comments

Comments
 (0)