-
Notifications
You must be signed in to change notification settings - Fork 428
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 extra space before return type declaration in function definition #1966
Conversation
(argsList@[formatJustTheTypeConstraint typeLayout], e) | ||
([makeList | ||
~break:IfNeed | ||
~indent:(settings.space * settings.indentWrappedPatternArgs) |
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.
oh man, settings.space? Have we been using this consistently? cc @IwanKaramazow
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 used the same setting that wrapCurriedFunctionBinding
employs, given that's where it all trickled down before.
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.
settings.space
exists and the space setting is used only in function bindings I think. It's pretty obscure, since it defaults to the default 2
here.
Looks good. Thanks! |
This is a follow-up to reasonml#1966, this time removing the extra space before type definitions for external declarations.
This is a follow-up to reasonml#1966, this time removing the extra space before type definitions for external declarations.
* Remove extra space before external type definition This is a follow-up to #1966, this time removing the extra space before type definitions for external declarations. * remove useless directive
fixes #1628