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
foo
first_argument (** explanation for first argument *)~name: second_argument (** explanation for second argument *)
third_argument
result (** explanation for result *)= result
as
foo
first_argument
(** explanation for first argument *)~name: second_argument
(** explanation for second argument *)
third_argument
result (** explanation for result *)= result
which I think might be a shame because it somewhat looses the connection between arguments and comments. Feel free to disregard this one, I'm not even sure what I think of it yet, but I wanted to have it showcased somewhere.
To reproduce:
$ nix run github:tweag/topiary/f35eee4 -- format -l ocaml <<EOFfoo first_argument (** explanation for first argument *) ~name: second_argument (** explanation for second argument *) third_argument result (** explanation for result *)= resultEOF
The text was updated successfully, but these errors were encountered:
Niols
changed the title
Comments in function calls get detached from the line hey are commenting on
Comments in function calls get detached from the line they are commenting on
Jan 9, 2025
As of f35eee4, Topiary formats:
as
which I think might be a shame because it somewhat looses the connection between arguments and comments. Feel free to disregard this one, I'm not even sure what I think of it yet, but I wanted to have it showcased somewhere.
To reproduce:
The text was updated successfully, but these errors were encountered: