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
The line breaks are inserted at the wrong places. For example,
main : Nat := fst <| for (longlongName1, longlongName2, longlongName3 := 4839248329, 10, 2438729) (x in [1;2;3;4;5;6;7]) {longlongName1 + longlongName2, longlongName1 * longlongName2, x + longlongName3};
is formatted to
main : Nat :=
fst
<| for (longlongName1, longlongName2, longlongName3 := 4839248329
, 10
, 2438729) (x in [1; 2; 3; 4; 5; 6; 7]) {
longlongName1 + longlongName2
, longlongName1 * longlongName2
, x + longlongName3
};
If the line needs to be broken, the formatter should break it after the for and then after the initializer. It should try to avoid breaking in the middle of the initializer or the range.
The text was updated successfully, but these errors were encountered:
The line breaks are inserted at the wrong places. For example,
is formatted to
If the line needs to be broken, the formatter should break it after the
for
and then after the initializer. It should try to avoid breaking in the middle of the initializer or the range.The text was updated successfully, but these errors were encountered: