Skip to content

Spaces added inside new index syntax #2494

@auduchinok

Description

@auduchinok

Context: dotnet/fsharp#13867 (review). Please note it behaves as expected when there's no qualifier expression on the left, i.e. a[c] <- d

Issue created from fantomas-online

Code

a.b[c] <- d

Result

a.b[ c ] <- d

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 warnings.
  • I or my company would be willing to help fix this.

Options

Fantomas master branch at 2022-09-09T07:46:11Z - c1a16e6

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