Skip to content

Commit 502321d

Browse files
committed
More 5.10 goodness
1 parent 5363c4c commit 502321d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Package.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ let package = Package(
3333
],
3434

3535
dependencies: [
36-
.package(url: "https://github.com/apple/swift-syntax.git", from: "510.0.0"),
36+
.package(url: "https://github.com/apple/swift-syntax.git", from: "510.0.1"),
3737
],
3838

3939
targets: [

[email protected]

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ let package = Package(
3333
],
3434

3535
dependencies: [
36-
.package(url: "https://github.com/apple/swift-syntax.git", from: "510.0.0"),
36+
.package(url: "https://github.com/apple/swift-syntax.git", from: "510.0.1"),
3737
],
3838

3939
targets: [

Sources/TestingMacros/ConditionMacro.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ public struct AmbiguousRequireMacro: ConditionMacro {
212212
of macro: some FreestandingMacroExpansionSyntax,
213213
in context: some MacroExpansionContext
214214
) throws -> ExprSyntax {
215-
if let argument = macro.argumentList.first {
215+
if let argument = macro.arguments.first {
216216
_checkAmbiguousArgument(argument.expression, in: context)
217217
}
218218

0 commit comments

Comments
 (0)