ocamlformat icon indicating copy to clipboard operation
ocamlformat copied to clipboard

Bug: traling whitespace produced with `space-around-records=false`

Open nojb opened this issue 4 years ago • 0 comments

The following term gets formatted with an extra trailing space after the last ; when using space-around-records=false (and no other options):

type default_local_volatility_calibration_fun = {
  chart_chooser :
    < as_unit_control : Generic_gui.TypedControl.c
    ; on_change : unit -> unit
    ; set_maturities : date list -> unit >; 
}

nojb avatar Aug 04 '21 04:08 nojb