Closed MNie closed 3 months ago
Hello,
Thank you for reporting this issue! I think you could extend this check to include your use-case: https://github.com/fsprojects/fantomas/blob/f144756d7849a29438c84872f61d043be95fcc67/src/Fantomas.Core/CodePrinter.fs#L1876-L1895
Are you interested in submitting a PR for this?
@nojaf will try to do so at the end of this week : )
Issue created from fantomas-online
Code
Result
Problem description
It seems that when we have multiple match statements passed to named parameters for a class it places the
,
in the wrong place. That results in adotnet fantomas
error.Known workarounds are:
()
,Extra information
Options
Fantomas main branch at 2023-04-20T16:04:28Z - 4ed1e9d49b17d6045fc0188336c2a282ae245d6c
Default Fantomas configuration