Skip to content

[Stroustrup] Comment above the record bracket beaks formatting when MultilineBracketStyle is Stroustrup #2871

Closed
@xperiandri

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?

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions