Skip to content

Check parents for childNameForDiagnostics #964

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
Oct 17, 2022

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Oct 17, 2022

No description provided.

@ahoppen ahoppen requested a review from bnbarham October 17, 2022 15:55
@ahoppen
Copy link
Member Author

ahoppen commented Oct 17, 2022

@swift-ci Please test

@ahoppen ahoppen merged commit 81fb4ff into swiftlang:main Oct 17, 2022
@ahoppen ahoppen deleted the ahoppen/parents-for-diag-name branch October 17, 2022 17:35
}
""",
diagnostics: [
DiagnosticSpec(message: "expected conditions in 'guard' statement"),
Copy link
Contributor

Choose a reason for hiding this comment

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

I know we allow "conditions" but IMO "condition" makes more sense here, ie. we expect at least one condition, not necessarily multiple.

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