Skip to content

Delete grammar comments in CodeGeneration/SyntaxSupport and translated all other comments to documentation #2179

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
Sep 16, 2023

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Sep 12, 2023

The grammar comments were partially out-of-date and weren’t very useful and all other comments should be documentation so that clients of swift-syntax can read them.

@ahoppen ahoppen requested a review from bnbarham September 12, 2023 16:17
@ahoppen
Copy link
Member Author

ahoppen commented Sep 12, 2023

@swift-ci Please test

@@ -1257,6 +1257,8 @@ public struct OriginallyDefinedInAttributeArgumentsSyntax: SyntaxProtocol, Synta

// MARK: - PackElementExprSyntax

/// A pack element expr spelled with `each`.
Copy link
Contributor

Choose a reason for hiding this comment

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

expression instead of expr? Same thing with repeat

…ted all other comments to documentation

The grammar comments were partially out-of-date and weren’t very useful and all other comments should be documentation so that clients of swift-syntax can read them.
@ahoppen ahoppen force-pushed the ahoppen/syntax-support-comments branch from 0ee366a to 79040ec Compare September 14, 2023 21:36
@ahoppen
Copy link
Member Author

ahoppen commented Sep 14, 2023

@swift-ci Please test

@ahoppen ahoppen enabled auto-merge September 14, 2023 21:37
@ahoppen
Copy link
Member Author

ahoppen commented Sep 16, 2023

@swift-ci Please test Windows

@ahoppen ahoppen merged commit ad237ff into swiftlang:main Sep 16, 2023
ahoppen added a commit to ahoppen/swift-syntax that referenced this pull request Feb 12, 2024
A few cases that were missed by swiftlang#2179.

rdar://113301253
ahoppen added a commit to ahoppen/swift-syntax that referenced this pull request Feb 12, 2024
A few cases that were missed by swiftlang#2179.

rdar://113301253
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