Skip to content

[CSSimplify] Allow conversions between tuples with pack expansions and Any #65861

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 15, 2023

Conversation

xedin
Copy link
Contributor

@xedin xedin commented May 11, 2023

Don't attempt to wrap Any into a single-element tuple to match
against a tuple with pack expansion(s), this conversion would be
handled by existential promotion if it's allowed, otherwise it would
produce an error.

Resolves: rdar://109160060

…d `Any`

Don't attempt to wrap `Any` into a single-element tuple to match
against a tuple with pack expansions, this conversion would be
handled by existential promotion if it's allowed, otherwise it
would produce an error.

Resolves: rdar://109160060
@xedin xedin requested a review from hborla as a code owner May 11, 2023 17:06
@xedin
Copy link
Contributor Author

xedin commented May 11, 2023

@swift-ci please test

@xedin
Copy link
Contributor Author

xedin commented May 15, 2023

@swift-ci please smoke test macOS platform

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