Skip to content

Fix Swift type inference issue for Xcode 26.4 beta#604

Merged
timsutton merged 1 commit intomainfrom
tsutton/xcode-26.4-optional-extension
Feb 26, 2026
Merged

Fix Swift type inference issue for Xcode 26.4 beta#604
timsutton merged 1 commit intomainfrom
tsutton/xcode-26.4-optional-extension

Conversation

@timsutton
Copy link
Member

Summary

  • Adds an explicit : Wrapped type annotation to Optional+Extensions.swift to fix a type inference regression in the Xcode 26.4 beta Swift compiler.

Test plan

  • Verified the file compiles with DEVELOPER_DIR=/Applications/Xcode-26.4.0-Beta.app swiftc

…beta

Add explicit type annotation to resolve a type inference regression in
the new Swift compiler.
@timsutton timsutton marked this pull request as ready for review February 23, 2026 15:58
@timsutton timsutton requested a review from a team as a code owner February 23, 2026 15:58
@timsutton timsutton merged commit 5e3ef5c into main Feb 26, 2026
10 checks passed
@timsutton timsutton deleted the tsutton/xcode-26.4-optional-extension branch February 26, 2026 16:04
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