Skip to content

Add missing availability to Borrow#655

Merged
lorentey merged 1 commit into
mainfrom
borrow-availability
May 21, 2026
Merged

Add missing availability to Borrow#655
lorentey merged 1 commit into
mainfrom
borrow-availability

Conversation

@guoye-zhang
Copy link
Copy Markdown
Contributor

@guoye-zhang guoye-zhang commented May 19, 2026

Build failure on latest compiler snapshot (5-17) when testing apple/swift-async-algorithms#421:

/Volumes/Data/swift-async-algorithms/.build/checkouts/swift-collections/Sources/ContainersPreview/Types/Ref.swift:147:27: error: 'Ref' is only available in macOS 10.14.4 or newer
145 | 
146 | @available(*, deprecated, renamed: "Ref")
147 | public typealias Borrow = Ref
    |                  |        `- error: 'Ref' is only available in macOS 10.14.4 or newer
    |                  `- note: add '@available' attribute to enclosing type alias
148 | 
149 | @available(SwiftStdlib 5.0, *)

@guoye-zhang guoye-zhang requested a review from lorentey as a code owner May 19, 2026 00:52
@guoye-zhang guoye-zhang requested a review from FranzBusch May 19, 2026 01:15
@sliemeobn
Copy link
Copy Markdown

also reported in #656

Copy link
Copy Markdown
Member

@lorentey lorentey left a comment

Choose a reason for hiding this comment

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

Thank you! 👍

@lorentey lorentey added this to the 1.5.2 milestone May 21, 2026
@lorentey lorentey merged commit 9c02ebb into main May 21, 2026
66 of 68 checks passed
@lorentey lorentey deleted the borrow-availability branch May 21, 2026 18:13
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.

3 participants