You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
moduleM =letLongFunctionWithLotsOfParameters(aVeryLongParam:AVeryLongTypeThatYouNeedToUse)(aSecondVeryLongParam:AVeryLongTypeThatYouNeedToUse)(aThirdVeryLongParam:AVeryLongTypeThatYouNeedToUse)=// ... the body of the method follows()
Result
moduleM =letLongFunctionWithLotsOfParameters(aVeryLongParam:AVeryLongTypeThatYouNeedToUse)(aSecondVeryLongParam:AVeryLongTypeThatYouNeedToUse)(aThirdVeryLongParam:AVeryLongTypeThatYouNeedToUse)=// ... the body of the method follows()
Problem description
The Microsoft FSharp style guide had a recent change when it comes to long function definitions.
The original snippet is now what it should be.
Extra information
The formatted result breaks by code.
The formatted result gives compiler warnings.
I or my company would be willing to help fix this.
* Revisit long function definitions. Fixes#1307.
* Long function definitions with single tuple and no return type.
* Take AlignFunctionSignatureToIndentation into account.
* Long function definitions with return types.
* Update documentation.
* Bump to 4.4.0-alpha-004.
Issue created from fantomas-online
Code
Result
Problem description
The Microsoft FSharp style guide had a recent change when it comes to long function definitions.
The original snippet is now what it should be.
Extra information
Options
Fantomas Master at 12/18/2020 15:13:04 - 5ecb8db
Default Fantomas configuration
Did you know that you can ignore files when formatting from fantomas-tool or the FAKE targets by using a .fantomasignore file?
The text was updated successfully, but these errors were encountered: