Skip to content

ocamlformat mishandles multiple-line comments between named function arguments #912

@ceastlund

Description

@ceastlund
let g = f ~x (* this is a multiple-line-spanning
                comment *) ~y

This formats without a closing ;; and with ~y on the same line as the end of the comment; clearly ocamlformat is treating this comment like it is part of a single line.

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