Skip to content

[CSSimplify] Allow converting pack expansion types and tuples with pack expansions to Void for closure result #65830

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 2 commits into from
May 16, 2023

Conversation

xedin
Copy link
Contributor

@xedin xedin commented May 10, 2023

Resolves: rdar://108904190

@xedin xedin requested a review from hborla as a code owner May 10, 2023 19:20
@xedin
Copy link
Contributor Author

xedin commented May 10, 2023

@swift-ci please test

@xedin
Copy link
Contributor Author

xedin commented May 15, 2023

@swift-ci please smoke test macOS platform

xedin added 2 commits May 15, 2023 16:19
…lt conversion

Checking for pack expansion type mismatch impedes non-Void-to-Void
conversion allowed for single-expression closures.

Resolves: rdar://108904190
…closure result

Maintains existing rule where single-expression closure is allowed
to convert to contextual function type with `Void` result.
@xedin xedin force-pushed the rdar-108904190 branch from 284c269 to dc4ee4b Compare May 15, 2023 23:20
@xedin
Copy link
Contributor Author

xedin commented May 15, 2023

@swift-ci please smoke test

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