Skip to content

Feature request: improve error message "BUG: generating invalid ocaml syntax." #2409

@hhugo

Description

@hhugo

when ocamlformat fail because it emitted code that triggers warning 50, we currently just see

BUG: generating invalid ocaml syntax.

it would be helpful to give a bit more information when --debug is used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions