Skip to content

Move SyntaxEnum from gyb to codegen #1151

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
Dec 16, 2022

Conversation

kimdv
Copy link
Contributor

@kimdv kimdv commented Dec 15, 2022

@kimdv kimdv requested a review from ahoppen as a code owner December 15, 2022 13:02
@kimdv kimdv force-pushed the kimdv/move-SyntaxEnum-to-codegen branch 4 times, most recently from 43533d2 to f89def7 Compare December 15, 2022 20:25
@kimdv kimdv force-pushed the kimdv/move-SyntaxEnum-to-codegen branch from f89def7 to 1264fba Compare December 16, 2022 06:33
@kimdv kimdv force-pushed the kimdv/move-SyntaxEnum-to-codegen branch from 1264fba to 4444b13 Compare December 16, 2022 12:22
@@ -12,807 +14,1069 @@
//
//===----------------------------------------------------------------------===//

/// Enum to exhaustively switch over all different syntax nodes.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

Oh, looks like the source file’s leading trivia is overriding the first node’s trivia. I’m fixing it here: #1154

Copy link
Member

Choose a reason for hiding this comment

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

I’m OK to leave it as-is for now. The comment will start appearing once we update CodeGeneration to include a SwiftSyntaxBuilder version that includes my PR.

@kimdv kimdv requested a review from ahoppen December 16, 2022 12:23
@kimdv kimdv force-pushed the kimdv/move-SyntaxEnum-to-codegen branch from 4444b13 to dedd6c1 Compare December 16, 2022 12:25
@kimdv
Copy link
Contributor Author

kimdv commented Dec 16, 2022

@swift-ci please test

@kimdv kimdv merged commit 88cec89 into swiftlang:main Dec 16, 2022
@kimdv kimdv deleted the kimdv/move-SyntaxEnum-to-codegen branch December 17, 2022 11:32
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