Skip to content

[CSBindings] Extend early array literal favoring to cover dictionaries #70214

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
Dec 5, 2023

Conversation

xedin
Copy link
Contributor

@xedin xedin commented Dec 4, 2023

Follow-up to #70148

Just like with arrays it's advantageous to favor dictionary literals over
disjunctions to bind the elements together and enable inference across
elements and, as a consequence, type pruning.

Resolves: rdar://119040159

Follow-up to swiftlang#70148

Just like with arrays it's advantageous to favor dictionary
literals over disjunctions to bind the elements together and
enable inference across elements and, as a consequence,
type pruning.

Resolves: rdar://119040159
@xedin
Copy link
Contributor Author

xedin commented Dec 4, 2023

@swift-ci please test

@xedin
Copy link
Contributor Author

xedin commented Dec 4, 2023

@swift-ci please test source compatibility

1 similar comment
@xedin
Copy link
Contributor Author

xedin commented Dec 5, 2023

@swift-ci please test source compatibility

@xedin
Copy link
Contributor Author

xedin commented Dec 5, 2023

@swift-ci please test Linux platform

@xedin xedin merged commit 0ec84e7 into swiftlang:main Dec 5, 2023
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.

1 participant