Skip to content

Better doc comment support in variant #7534

Open
@shulhi

Description

@shulhi

Currently the following produce syntax error,

type t = 
  /** non-negative integer constant */
  | Numeral(float)
  /** Addition [e1 + e2] */
  | Plus(expression, expression)

This should be supported.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions