Skip to content

Commit

Permalink
Use arguments instead of argumentList in the macro template (#7422)
Browse files Browse the repository at this point in the history
`argumentList` has been deprecated. We should use `arguments` instead.
  • Loading branch information
ahoppen committed Mar 25, 2024
1 parent a809fb5 commit 2bc24f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Workspace/InitPackage.swift
Expand Up @@ -836,7 +836,7 @@ public final class InitPackage {
of node: some FreestandingMacroExpansionSyntax,
in context: some MacroExpansionContext
) -> ExprSyntax {
guard let argument = node.argumentList.first?.expression else {
guard let argument = node.arguments.first?.expression else {
fatalError("compiler bug: the macro does not have any arguments")
}
Expand Down

0 comments on commit 2bc24f0

Please sign in to comment.