Skip to content

Commit 23619cc

Browse files
authored
Work around compiler regression causing CI failure. (#664)
This PR attempts to work around the compiler regression reported in rdar://135346598 that is currently causing our macOS CI jobs to fail. ### 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 20c4440 commit 23619cc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Tests/TestingTests/MiscellaneousTests.swift

+2
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ struct TestsWithStaticMemberAccessBySelfKeyword {
166166
@Test(.hidden, arguments: Self.x)
167167
func f(i: Int) {}
168168

169+
#if FIXED_135346598
169170
@Test(.hidden, arguments: Self.f(max: 100))
170171
func g(i: Int) {}
171172

@@ -178,6 +179,7 @@ struct TestsWithStaticMemberAccessBySelfKeyword {
178179

179180
@Test(.hidden, arguments: [Box(rawValue: Self.f(max:))])
180181
func j(i: Box<@Sendable (Int) -> Range<Int>>) {}
182+
#endif
181183

182184
struct Nested {
183185
static let x = 0 ..< 100

0 commit comments

Comments
 (0)