-
Notifications
You must be signed in to change notification settings - Fork 470
Standardize doc comments printing #7529
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Standardize doc comments printing #7529
Conversation
tests/tests/src/arith_syntax.res
Outdated
/** non-negative integer constant */ | ||
| Numeral(float) | ||
/** Addition [e1 + e2] */ | ||
| Plus(expression, expression) | ||
/** Difference [e1 - e2] */ | ||
| Minus(expression, expression) | ||
/** Product [e1 * e2] */ | ||
| Times(expression, expression) | ||
/** Quotient [e1 / e2] */ | ||
| Divide(expression, expression) | ||
/** Opposite value [-e] */ | ||
| Negate(expression) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMO this looks better
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunately this syntax is invalid.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reported in #7534
d8a634f
to
606aa64
Compare
rescript
@rescript/darwin-arm64
@rescript/darwin-x64
@rescript/linux-arm64
@rescript/linux-x64
@rescript/win32-x64
commit: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great stuff! This makes doc comments formatting so much better!
No description provided.