Skip to content

Commit 0e4bf24

Browse files
committed
Update swift-syntax at version 510.0.2
1 parent 541fd1b commit 0e4bf24

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

Package.resolved

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ let package = Package(
1919
)
2020
],
2121
dependencies: [
22-
.package(url: "https://github.com/swiftlang/swift-syntax.git", from: "509.0.2")
22+
.package(url: "https://github.com/swiftlang/swift-syntax.git", from: "510.0.2")
2323
],
2424
targets: [
2525
.macro(

Sources/Macros/Symbol/SymbolMacro.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ public struct SymbolMacro: ExpressionMacro {
88
in context: some MacroExpansionContext
99
) throws -> ExprSyntax {
1010
guard
11-
let argument = node.argumentList.first?.expression,
11+
let argument = node.arguments.first?.expression,
1212
let segments = argument.as(StringLiteralExprSyntax.self)?.segments,
1313
segments.count == 1,
1414
case .stringSegment(let literalSegment)? = segments.first

Sources/Macros/URL/URLMacro.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ public struct URLMacro: ExpressionMacro {
88
in context: some MacroExpansionContext
99
) throws -> ExprSyntax {
1010
guard
11-
let argument = node.argumentList.first?.expression,
11+
let argument = node.arguments.first?.expression,
1212
let segments = argument.as(StringLiteralExprSyntax.self)?.segments,
1313
segments.count == 1,
1414
case .stringSegment(let literalSegment)? = segments.first

0 commit comments

Comments
 (0)