Skip to content

[Completion] Skip tryOptimizeGenericDisjunction if there's a completion child #74352

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
Jun 14, 2024

Conversation

hamishknight
Copy link
Contributor

Attempting to favor a disjunction choice here can lead to unhelpful results if there's e.g a code completion token argument, since it acts as a placeholder.

rdar://127844278

…tion child

Attempting to favor a disjunction choice here
can lead to unhelpful results if there's e.g a code
completion token argument, since it acts as a
placeholder.

rdar://127844278
@hamishknight hamishknight force-pushed the complete-disjunction branch from 3c47c2a to 7c7e914 Compare June 12, 2024 18:38
@hamishknight
Copy link
Contributor Author

@swift-ci please test

@hamishknight
Copy link
Contributor Author

@swift-ci please SourceKit stress test

@hamishknight
Copy link
Contributor Author

Stress tester result is UPASS

@hamishknight hamishknight merged commit a9d3df0 into swiftlang:main Jun 14, 2024
5 of 6 checks passed
@hamishknight hamishknight deleted the complete-disjunction branch June 14, 2024 08:25
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