Skip to content

Fix CasePath resolution#219

Merged
kmcbride merged 1 commit into
spotify:masterfrom
kmcbride:swift-6.3-case-path
Mar 23, 2026
Merged

Fix CasePath resolution#219
kmcbride merged 1 commit into
spotify:masterfrom
kmcbride:swift-6.3-case-path

Conversation

@kmcbride
Copy link
Copy Markdown
Collaborator

In Xcode 26.4 / Swift 6.3 the library is failing to build due to incorrect type resolution:

EnumRoute.swift:10:13: let casePath: CasePath<(EffectParameters) -> Effect, Void>

EnumRoute.swift:11:54: error: cannot convert value of type '(@escaping (EffectParameters) -> Effect) -> Void?' to expected argument type '(Effect) -> EffectParameters?'

EnumRoute.swift:11:54: note: arguments to generic parameter 'Wrapped' ('Void' and 'EffectParameters') are expected to be equal

@kmcbride kmcbride merged commit 999fc2d into spotify:master Mar 23, 2026
2 checks passed
@kmcbride kmcbride deleted the swift-6.3-case-path branch March 23, 2026 16:38
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