Skip to content

ForEach: diagnose unavailable conformance#89462

Merged
elsakeirouz merged 1 commit into
swiftlang:mainfrom
elsakeirouz:fix-foreach-unavailable-conformance
May 28, 2026
Merged

ForEach: diagnose unavailable conformance#89462
elsakeirouz merged 1 commit into
swiftlang:mainfrom
elsakeirouz:fix-foreach-unavailable-conformance

Conversation

@elsakeirouz
Copy link
Copy Markdown
Contributor

Resolves rdar://177969592.

The current diagnosis for unavailable conformance to Sequence/BorrowingSequence did not account for @available(*, unavailable), causing a crash when querying AvailabilityRange:: getVersionString.

@elsakeirouz elsakeirouz self-assigned this May 27, 2026
@elsakeirouz
Copy link
Copy Markdown
Contributor Author

@swift-ci please smoke test

@elsakeirouz elsakeirouz enabled auto-merge (squash) May 27, 2026 11:48
@elsakeirouz elsakeirouz force-pushed the fix-foreach-unavailable-conformance branch from 1dfc5fe to fdd03d8 Compare May 28, 2026 10:58
@elsakeirouz
Copy link
Copy Markdown
Contributor Author

@swift-ci please smoke test

@elsakeirouz elsakeirouz merged commit d8ad0fb into swiftlang:main May 28, 2026
3 checks passed
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