Skip to content

Fantomas removes backticks around constraint #2116

Closed
@Tarmil

Description

Issue created from fantomas-online

Code

let ``constraint`` = 1

Result

let constraint = 1

Problem description

The identifier constraint is marked as a possible future keyword and raises a warning. It should remain escaped by double-backticks.

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 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

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions