Skip to content

Bug: crash with comment dropped in (val x : S) #1308

@emillon

Description

@emillon

Hi,

The following program crashes ocamlformat:

include (val x:S(*a*))

It exits with:

Error: Comment (* a *) dropped.

This also happens with module M = (val x:S(*a*)).

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions