Skip to content

[CS] Improve placeholder diagnostics slightly #75046

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
Jul 8, 2024

Conversation

hamishknight
Copy link
Contributor

Make sure CouldNotInferPlaceholderType can produce a diagnostic for a PlaceholderType locator element, and avoid emitting an extra diagnostic for a placeholder type in an invalid position.

Make sure `CouldNotInferPlaceholderType` can
produce a diagnostic for a `PlaceholderType`
locator element, and avoid emitting an extra
diagnostic for a placeholder type in an invalid
position.
@hamishknight
Copy link
Contributor Author

@swift-ci please test

Copy link
Contributor

@xedin xedin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM only think we might consider changing here is impact of the new fix!

@hamishknight hamishknight merged commit e630f66 into swiftlang:main Jul 8, 2024
5 checks passed
@hamishknight hamishknight deleted the out-of-placeholder branch July 8, 2024 17:13
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