Skip to content

[CSSimplify] Handle situations when generic argument mismatch happens…#88493

Merged
xedin merged 1 commit into
swiftlang:mainfrom
xedin:rdar-174723056
Apr 16, 2026
Merged

[CSSimplify] Handle situations when generic argument mismatch happens…#88493
xedin merged 1 commit into
swiftlang:mainfrom
xedin:rdar-174723056

Conversation

@xedin

@xedin xedin commented Apr 15, 2026

Copy link
Copy Markdown
Contributor

… in a synthesized argument

@xedin xedin requested a review from hamishknight April 15, 2026 22:56
@xedin xedin requested a review from a team as a code owner April 15, 2026 22:56
@xedin

xedin commented Apr 15, 2026

Copy link
Copy Markdown
Contributor Author

@swift-ci please test

… in a synthesized argument

If the argument was synthesized by the solver, let's fail. This can
happen when a parameter type is optional and (currently) inference
would try both optional and non-optional bindings for the new
argument which cases a mismatch in one of the conversion cases.

Resolves: swiftlang#88456
Resolves: rdar://174723056
@xedin

xedin commented Apr 15, 2026

Copy link
Copy Markdown
Contributor Author

@swift-ci please test

@xedin

xedin commented Apr 16, 2026

Copy link
Copy Markdown
Contributor Author

macOS arm64 failure is unrelated and happens in other PRs as well - lang/swift/swiftui_formatters/TestSwiftUIFormatters.py.

@xedin xedin merged commit 6b5f229 into swiftlang:main Apr 16, 2026
5 of 6 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

2 participants