Skip to content

Named argument should have a space #1877

@nojaf

Description

@nojaf

Issue created from fantomas-online

Code

let makeStreamReader x = new System.IO.StreamReader(path=x)

Result

let makeStreamReader x = new System.IO.StreamReader(path = x)

Problem description

The style guide advises to not have spaces here.

Named arguments should also not have space surrounding the =:

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 Master at 08/19/2021 16:27:53 - a80f888

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