From d40a282c6b7e848ae5038ee22697a84548604465 Mon Sep 17 00:00:00 2001 From: Jonathan Grynspan Date: Thu, 5 Sep 2024 11:52:24 -0400 Subject: [PATCH] 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. --- Tests/TestingTests/MiscellaneousTests.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Tests/TestingTests/MiscellaneousTests.swift b/Tests/TestingTests/MiscellaneousTests.swift index 3cd900eee..7a03a3292 100644 --- a/Tests/TestingTests/MiscellaneousTests.swift +++ b/Tests/TestingTests/MiscellaneousTests.swift @@ -166,6 +166,7 @@ struct TestsWithStaticMemberAccessBySelfKeyword { @Test(.hidden, arguments: Self.x) func f(i: Int) {} +#if FIXED_135346598 @Test(.hidden, arguments: Self.f(max: 100)) func g(i: Int) {} @@ -178,6 +179,7 @@ struct TestsWithStaticMemberAccessBySelfKeyword { @Test(.hidden, arguments: [Box(rawValue: Self.f(max:))]) func j(i: Box<@Sendable (Int) -> Range>) {} +#endif struct Nested { static let x = 0 ..< 100