27
27
///
28
28
/// @Metadata {
29
29
/// @Available(Swift, introduced: 6.2)
30
+ /// @Available(Xcode, introduced: 26.0)
30
31
/// }
31
32
public struct IssueHandlingTrait : TestTrait , SuiteTrait {
32
33
/// A function which handles an issue and returns an optional replacement.
@@ -55,6 +56,7 @@ public struct IssueHandlingTrait: TestTrait, SuiteTrait {
55
56
///
56
57
/// @Metadata {
57
58
/// @Available(Swift, introduced: 6.2)
59
+ /// @Available(Xcode, introduced: 26.0)
58
60
/// }
59
61
public func handleIssue( _ issue: Issue ) -> Issue ? {
60
62
_handler ( issue)
@@ -67,6 +69,7 @@ public struct IssueHandlingTrait: TestTrait, SuiteTrait {
67
69
68
70
/// @Metadata {
69
71
/// @Available(Swift, introduced: 6.2)
72
+ /// @Available(Xcode, introduced: 26.0)
70
73
/// }
71
74
extension IssueHandlingTrait : TestScoping {
72
75
public func scopeProvider( for test: Test , testCase: Test . Case ? ) -> Self ? {
@@ -181,6 +184,7 @@ extension Trait where Self == IssueHandlingTrait {
181
184
///
182
185
/// @Metadata {
183
186
/// @Available(Swift, introduced: 6.2)
187
+ /// @Available(Xcode, introduced: 26.0)
184
188
/// }
185
189
public static func compactMapIssues( _ transform: @escaping @Sendable ( Issue ) -> Issue ? ) -> Self {
186
190
Self ( handler: transform)
@@ -219,6 +223,7 @@ extension Trait where Self == IssueHandlingTrait {
219
223
///
220
224
/// @Metadata {
221
225
/// @Available(Swift, introduced: 6.2)
226
+ /// @Available(Xcode, introduced: 26.0)
222
227
/// }
223
228
public static func filterIssues( _ isIncluded: @escaping @Sendable ( Issue ) -> Bool ) -> Self {
224
229
Self { issue in
0 commit comments