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
match foo with|{ Bar = bar
Level =12
Vibes = plenty
Lorem ="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. "}->"7"|_->"8"
Result
match foo with|{ Bar = bar; Level =12; Vibes = plenty;
Lorem ="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. "}->"7"|_->"8"
Problem description
I believe it should be formatted as the input is, unless I've missed something important. Also affects MultilineBlockBracketsOnSameColumn = true.
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.
The fact that MultilineBlockBracketsOnSameColumn = true has no effect here is deliberately.
It is rather complex to solve and it doesn't occur in the wild at GR, so it was not tackled on purpose.
For the default scenario, PatRecord could use a change.
nojaf
added a commit
to nojaf/fantomas
that referenced
this issue
Sep 28, 2020
Issue created from fantomas-online
Code
Result
Problem description
I believe it should be formatted as the input is, unless I've missed something important. Also affects
MultilineBlockBracketsOnSameColumn = true
.Extra information
Options
Fantomas Master at 09/26/2020 18:28:15 - 0771e9a
Default Fantomas configuration
The text was updated successfully, but these errors were encountered: