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
namespaceTestmoduleOrderProcessing =typeValidateOrder=
CheckProductCodeExists // dependency-> CheckAddressExists // dependency-> UnvalidatedOrder // input-> Result<ValidatedOrder,ValidationError>// output (Result b/c one of deps returns a Result)
Result
namespaceTestmoduleOrderProcessing =typeValidateOrder= CheckProductCodeExists -> CheckAddressExists -> UnvalidatedOrder -> Result<ValidatedOrder, ValidationError>// output (Result b/c one of deps returns a Result)
Problem description
There are a couple of things going on here -- there's the issue of losing all but the last comment, and there's also the issue of this function signature being forced onto one line. My max line width is set to 80, and the result's width is 164 -- this signature should be broken up over multiple lines. Even without the comments, Result<ValidatedOrder, ValidationError> begins at column 73, but ends at column 112
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.
Issue created from fantomas-online
Code
Result
Problem description
There are a couple of things going on here -- there's the issue of losing all but the last comment, and there's also the issue of this function signature being forced onto one line. My max line width is set to 80, and the result's width is 164 -- this signature should be broken up over multiple lines. Even without the comments,
Result<ValidatedOrder, ValidationError>
begins at column 73, but ends at column 112Extra information
Options
Fantomas Master at 12/14/2020 16:48:17 - 93b3b1e
Default Fantomas configuration
The text was updated successfully, but these errors were encountered: