Skip to content

application should not be multiline #1999

@nojaf

Description

@nojaf

Issue created from fantomas-online

Code

app(meh).[x] <-
    { A = longTypeName
      B = someOtherVariable
      C = ziggyBarX }

Result

app(
    meh
).[x] <-
    { A = longTypeName
      B = someOtherVariable
      C = ziggyBarX }

Problem description

The whole expression is multiline so the app(meh) part is formatted multiline but it in itself isn't required to be so.

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.

Options

Fantomas 4.6 branch at 1/1/1990

Default Fantomas configuration

Did you know that you can ignore files when formatting from fantomas-tool or the FAKE targets by using a .fantomasignore file?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions