From d9c26817af0127680e7c5efa1bdf11e83a2ec27b Mon Sep 17 00:00:00 2001 From: Tessaro <46029578+PedroTessaro@users.noreply.github.com> Date: Fri, 2 Oct 2026 09:35:24 -0300 Subject: [PATCH] Fix AsyncAlgorithms 1.3 availability macro typo (#453) The `#else` branch declared `AsyncAlgorithms_v1_3` with the macro name `AsyncAlgorithms 1.2`, so that branch defined `AsyncAlgorithms 1.2` twice and never defined `AsyncAlgorithms 1.3`. Issue: https://github.com/apple/swift-async-algorithms/issues/452 --- Package.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Package.swift b/Package.swift index 52d8584..80d03d6 100644 --- a/Package.swift +++ b/Package.swift @@ -14,7 +14,7 @@ let AsyncAlgorithms_v1_3 = #else let AsyncAlgorithms_v1_1 = "AvailabilityMacro=AsyncAlgorithms 1.1:macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0" let AsyncAlgorithms_v1_2 = "AvailabilityMacro=AsyncAlgorithms 1.2:macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0" -let AsyncAlgorithms_v1_3 = "AvailabilityMacro=AsyncAlgorithms 1.2:macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0" +let AsyncAlgorithms_v1_3 = "AvailabilityMacro=AsyncAlgorithms 1.3:macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0" #endif let availabilityMacros: [SwiftSetting] = [