Skip to content

[6.2] AST: Quote attributes more consistently in diagnostics #81038

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 7 commits into from
Apr 25, 2025

Conversation

AnthonyLatsis
Copy link
Collaborator

@AnthonyLatsis AnthonyLatsis commented Apr 23, 2025

  • Explanation: We are supposed to quote anything that is referred to as code, and attributes are no exception. This change makes quoting consistent for attributes that are hardcoded or passed via a string parameter.

    Cherry-picking to sync. The amount of files modified here is likely to cause many future cherry-picks to hit conflicts otherwise.

  • Scope: Diagnostic messages.

  • Issues: —

  • Original PRs: AST: Quote attributes more consistently in diagnostics #80593

  • Risk: Low. Diagnostic definition changes only.

  • Testing: Updated verified diagnostics.

  • Reviewers: @xedin

@AnthonyLatsis AnthonyLatsis requested a review from a team as a code owner April 23, 2025 18:40
@AnthonyLatsis
Copy link
Collaborator Author

@swift-ci please smoke test macOS

@AnthonyLatsis
Copy link
Collaborator Author

@swift-ci please test

@AnthonyLatsis
Copy link
Collaborator Author

@swift-ci please test macOS

@AnthonyLatsis AnthonyLatsis enabled auto-merge April 25, 2025 12:50
@AnthonyLatsis AnthonyLatsis merged commit d3cead6 into swiftlang:release/6.2 Apr 25, 2025
5 checks passed
@AnthonyLatsis AnthonyLatsis deleted the collybia-nuda-6.2 branch April 25, 2025 23:37
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.

3 participants