Skip to content

Fix availability macro definition for AsyncAlgorithms 1.3#406

Open
azarovalex wants to merge 1 commit intoapple:mainfrom
azarovalex:patch-2
Open

Fix availability macro definition for AsyncAlgorithms 1.3#406
azarovalex wants to merge 1 commit intoapple:mainfrom
azarovalex:patch-2

Conversation

@azarovalex
Copy link
Copy Markdown

@azarovalex azarovalex commented Mar 12, 2026

In Package.swift AsyncAlgorithms_v1_3 defines the availability domain as AsyncAlgorithms 1.2 instead of AsyncAlgorithms 1.3.

@@ -14,7 +14,7 @@ let AsyncAlgorithms_v1_3 =
#else
Copy link
Copy Markdown
Author

@azarovalex azarovalex Mar 12, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@phausler looking at this more it seems that the whole #else branch is dead code since // swift-tools-version: 6.2 is defined for this manifest? It feels like we can remove #if compiler(>=6.0) && swift(>=6.0) check unless I'm missing something

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants