You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When reformatting a doc comment attached to a value's type in an interface (.rei), refmt from the current master branch adds unwanted whitespace between the comment and the definition if the definition wraps. Otherwise there is no whitespace added between the comment and definition.
The following is the output from refmt, even if the empty line between the first doc comment and let some_definition is removed:
/** Hi I'm a doc comment for some_definition */letsome_definition:
(
~what_a_long_label: M.its_a_type,
~just_need_to_make_this: long_enough_to_wrap
) =>
unit;/** Hi I'm a doc comment for another_definition */letanother_definition:unit => unit;
I'd personally prefer no empty line between the doc comment and definition, but in any case it would be nice if the spacing did not depend on the length/wrapping of the value definition.
The text was updated successfully, but these errors were encountered:
When reformatting a doc comment attached to a value's type in an interface (
.rei
),refmt
from the currentmaster
branch adds unwanted whitespace between the comment and the definition if the definition wraps. Otherwise there is no whitespace added between the comment and definition.The following is the output from
refmt
, even if the empty line between the first doc comment andlet some_definition
is removed:I'd personally prefer no empty line between the doc comment and definition, but in any case it would be nice if the spacing did not depend on the length/wrapping of the value definition.
The text was updated successfully, but these errors were encountered: