Sometimes the set margin gets lost in reformatting.
Using ocamlformat v0.28.1 with the default configuration (in particular margin set to 80 columns), here are two small examples where we see ) and , can appear in the 81-th and 82-th columns.
let a = 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (1 * (1 + 1))
let b =
( 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (1 * (1 + 1)),
1 )
Sometimes the set margin gets lost in reformatting.
Using
ocamlformatv0.28.1 with the default configuration (in particularmarginset to 80 columns), here are two small examples where we see)and,can appear in the 81-th and 82-th columns.