File tree 4 files changed +5
-5
lines changed
4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 5
5
"kind" : " remoteSourceControl" ,
6
6
"location" : " https://github.com/swiftlang/swift-syntax.git" ,
7
7
"state" : {
8
- "revision" : " 6ad4ea24b01559dde0773e3d091f1b9e36175036 " ,
9
- "version" : " 509 .0.2"
8
+ "revision" : " 303e5c5c36d6a558407d364878df131c3546fad8 " ,
9
+ "version" : " 510 .0.2"
10
10
}
11
11
}
12
12
],
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ let package = Package(
19
19
)
20
20
] ,
21
21
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" )
23
23
] ,
24
24
targets: [
25
25
. macro(
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ public struct SymbolMacro: ExpressionMacro {
8
8
in context: some MacroExpansionContext
9
9
) throws -> ExprSyntax {
10
10
guard
11
- let argument = node. argumentList . first? . expression,
11
+ let argument = node. arguments . first? . expression,
12
12
let segments = argument. as ( StringLiteralExprSyntax . self) ? . segments,
13
13
segments. count == 1 ,
14
14
case . stringSegment( let literalSegment) ? = segments. first
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ public struct URLMacro: ExpressionMacro {
8
8
in context: some MacroExpansionContext
9
9
) throws -> ExprSyntax {
10
10
guard
11
- let argument = node. argumentList . first? . expression,
11
+ let argument = node. arguments . first? . expression,
12
12
let segments = argument. as ( StringLiteralExprSyntax . self) ? . segments,
13
13
segments. count == 1 ,
14
14
case . stringSegment( let literalSegment) ? = segments. first
You can’t perform that action at this time.
0 commit comments