Skip to content

Commit 25d6282

Browse files
authored
[6.1] Adopt prerelease tags of swift-syntax-601. (#851)
- **Explanation**: Update our swift-syntax package dependency. - **Scope**: 6.1 release when building as a package - **Issues**: N/A - **Original PRs**: #847 - **Risk**: Low (no obvious issues) - **Testing**: All tests continue to pass. No additional testing needed. - **Reviewers**: @briancroom @stmontgomery
1 parent cc921fd commit 25d6282

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

Diff for: 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/swiftlang/swift-syntax.git", from: "600.0.0"),
36+
.package(url: "https://github.com/swiftlang/swift-syntax.git", from: "601.0.0-latest"),
3737
],
3838

3939
targets: [

Diff for: Sources/TestingMacros/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ if(SwiftTesting_BuildMacrosAsExecutables)
3131
set(FETCHCONTENT_BASE_DIR ${CMAKE_BINARY_DIR}/_d)
3232
FetchContent_Declare(SwiftSyntax
3333
GIT_REPOSITORY https://github.com/swiftlang/swift-syntax
34-
GIT_TAG cb53fa1bd3219b0b23ded7dfdd3b2baff266fd25) # 600.0.0
34+
GIT_TAG 1cd35348b089ff8966588742c69727205d99f8ed) # 601.0.0-prerelease-2024-11-18
3535
FetchContent_MakeAvailable(SwiftSyntax)
3636
endif()
3737

Diff for: Sources/TestingMacros/SuiteDeclarationMacro.swift

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ public struct SuiteDeclarationMacro: MemberMacro, PeerMacro, Sendable {
1919
public static func expansion(
2020
of node: AttributeSyntax,
2121
providingMembersOf declaration: some DeclGroupSyntax,
22+
conformingTo protocols: [TypeSyntax],
2223
in context: some MacroExpansionContext
2324
) throws -> [DeclSyntax] {
2425
guard _diagnoseIssues(with: declaration, suiteAttribute: node, in: context) else {

0 commit comments

Comments
 (0)