-
Notifications
You must be signed in to change notification settings - Fork 440
Remove convenience initializers #1300
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
Remove convenience initializers #1300
Conversation
@swift-ci please test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you.
I just went through the convenience initializers as well and think the following changes would also make sense. If you’ve got time, I think it would be good to do them in this PR. But we can also merge this as-is and I’ll create a follow-up PR
FunctionParameterSyntax
should take aPartialSyntaxNodeString
instead of aString
- I think
SwitchCaseSyntax
could also be represented as a convenience initializer in SyntaxNodeWithBody.swift - Rename the
MARK: CustomAttribute
toMARK: Attribute
and sort it to the top of the file to maintain alphabetical order
Sources/_SwiftSyntaxTestSupport/SyntaxProtocol+Initializer.swift
Outdated
Show resolved
Hide resolved
Will add them to this PR |
25bee47
to
9381ce5
Compare
@ahoppen should |
6cc4088
to
9b4dd73
Compare
Also removed the one from |
Also removed |
@swift-ci please test |
For |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
@swift-ci Please test |
49c0020
to
9d1db4e
Compare
@swift-ci please test |
No description provided.