-
Notifications
You must be signed in to change notification settings - Fork 441
Fix spacings around !
and ?
#1218
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
Conversation
b96ea09
to
021c2a4
Compare
@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.
This makes me wonder whether the better default would be to mark exclamationMark
and postfixQuestionMark
as not having a trailing space and selectively enabling it in cases where we want a trailing space.
I’m thinking that in the most cases the exclamation and question mark will be appended to an identifier and since identifiers don’t have a trailing space, !
and ?
also shouldn’t have a trailing space. I might be wrong though.
I can see what happens 😬 |
021c2a4
to
51d94a0
Compare
@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.
I like this much better.
CodeGeneration/Sources/generate-swiftsyntax/templates/basicformat/BasicFormatFile.swift
Outdated
Show resolved
Hide resolved
51d94a0
to
afc428e
Compare
afc428e
to
c96d707
Compare
@swift-ci please test |
swiftlang#1183 and swiftlang#1218 raced to create a build failure.
Fixes some spacing regressions found in #1217