From e5b40c1c54b8ebde1756c3a0ccabefc6dc992363 Mon Sep 17 00:00:00 2001 From: Stephen Celis Date: Sat, 24 Aug 2024 07:45:55 -0700 Subject: [PATCH] Disfavor another `unimplemented` deprecation When XCTestDynamicOverlay and IssueReporting are both imported into a file, the deprecated version takes precedence in certain situations, triggering a warning. This PR should address. --- Sources/XCTestDynamicOverlay/Internal/Deprecations.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Sources/XCTestDynamicOverlay/Internal/Deprecations.swift b/Sources/XCTestDynamicOverlay/Internal/Deprecations.swift index 3b46ed6..965df0b 100644 --- a/Sources/XCTestDynamicOverlay/Internal/Deprecations.swift +++ b/Sources/XCTestDynamicOverlay/Internal/Deprecations.swift @@ -277,6 +277,7 @@ public func unimplemented( } } +@_disfavoredOverload @available(*, deprecated, renamed: "unimplemented(_:placeholder:)") public func unimplemented( _ description: @autoclosure @escaping @Sendable () -> String = "",