Skip to content

Comment dropped in a multi-option match #1855

Closed
@pbiggar

Description

Issue created from fantomas-online

Code

match x with
| "a" // still here
| "b" // VANISHES
| "c" -> "c"

Result

match x with
| "a" // still here
| "b"
| "c" -> "c"

Problem description

Formatting this code drops a comment

Options

Fantomas Master at 08/04/2021 06:29:48 - 4bfd258

Default Fantomas configuration

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