[Stroustrup] Comment above the record bracket beaks formatting when MultilineBracketStyle
is Stroustrup
#2871
Closed
Description
Issue created from fantomas-online
Code
type Event =
// TODO: Add LulaSafe conclusion and scores per assessment
{
Metadata: AssessmentMetadata
}
Result
type Event =
// TODO: Add LulaSafe conclusion and scores per assessment
{
Metadata: AssessmentMetadata
}
Problem description
Please describe here the Fantomas problem you encountered.
Check out our Contribution Guidelines.
Extra information
- The formatted result breaks my code.
- The formatted result gives compiler errors.
- I or my company would be willing to help fix this.
Options
Fantomas v6.1 branch at 1/1/1990
{ config with
MultilineBracketStyle = stroustrup }
Did you know that you can ignore files when formatting from fantomas-tool or the FAKE targets by using a .fantomasignore file?