Skip to content

Commit 8a78407

Browse files
authored
Adopt prerelease tags of swift-syntax-601. (#847)
This PR moves our main branch's swift-syntax dependency from 600.0.0 to 601. ### Checklist: - [x] Code and documentation should follow the style of the [Style Guide](https://github.com/apple/swift-testing/blob/main/Documentation/StyleGuide.md). - [x] If public symbols are renamed or modified, DocC references should be updated.
1 parent 7ae3647 commit 8a78407

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
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/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: [

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

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)