Skip to content

Better doc comment support in variant #7534

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
shulhi opened this issue May 30, 2025 · 0 comments
Open

Better doc comment support in variant #7534

shulhi opened this issue May 30, 2025 · 0 comments

Comments

@shulhi
Copy link
Member

shulhi commented May 30, 2025

Currently the following produce syntax error,

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

This should be supported.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

1 participant