rescript-compiler icon indicating copy to clipboard operation
rescript-compiler copied to clipboard

Better doc comment support in variant

Open shulhi opened this issue 6 months ago • 0 comments

Currently the following produce syntax error,

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

This should be supported.

shulhi avatar May 30 '25 11:05 shulhi