Skip to content

Commit 4990a7e

Browse files
committed
Fix build issue when using a Swift 5.8 compiler
We were unable to infer the base of the subscript with a Swift 5.8 compiler.
1 parent 2f0b28d commit 4990a7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/SwiftSyntaxMacroExpansionTest/PeerMacroTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ final class PeerMacroTests: XCTestCase {
5858
.replaceChild(
5959
message: SwiftSyntaxMacros.MacroExpansionFixItMessage("add 'async'"),
6060
parent: funcDecl,
61-
replacingChildAt: \.signature.effectSpecifiers,
61+
replacingChildAt: \FunctionDeclSyntax.signature.effectSpecifiers,
6262
with: newEffects
6363
)
6464
]

0 commit comments

Comments
 (0)