@@ -2492,8 +2492,10 @@ and fmt_expression c ?(box = true) ?(pro = noop) ?eol ?parens
24922492 (hvbox 0
24932493 ( str " let" $ break 1 0
24942494 $ Cmts. fmt_before c popen_loc
2495- $ fmt_or override (str " open!" ) (str " open" )
2496- $ opt ext (fun _ -> fmt_if override (str " " ))
2495+ $ fmt_or override (str " open!" )
2496+ (str " open" )
2497+ $ opt ext (fun _ ->
2498+ fmt_if override (str " " ) )
24972499 $ fmt_extension_suffix c ext ) )
24982500 (sub_mod ~ctx popen_expr)
24992501 $ Cmts. fmt_after c popen_loc
@@ -4151,8 +4153,7 @@ and fmt_module_statement c ~attributes ?keyword mod_expr =
41514153 ( fmt_opt keyword
41524154 $ fmt_extension_suffix c attributes.attrs_extension
41534155 $ fmt_attributes c ~pre: (Break (1 , 0 )) attrs_before
4154- $ space_break
4155- $ fmt_opt blk.pro )
4156+ $ space_break $ fmt_opt blk.pro )
41564157 $ blk.psp $ blk.bdy ) )
41574158 $ blk.esp $ fmt_opt blk.epi
41584159 $ fmt_item_attributes c ~pre: Blank attrs_after
@@ -4462,7 +4463,7 @@ and fmt_structure_item c ~last:last_item ~semisemi {ctx= parent_ctx; ast= si}
44624463 fmt_or
44634464 (is_override popen_override)
44644465 ( str " open!"
4465- $ fmt_if (Option. is_some attributes.attrs_extension) space_break)
4466+ $ fmt_if (Option. is_some attributes.attrs_extension) space_break )
44664467 (str " open" )
44674468 in
44684469 fmt_module_statement c ~attributes ~keyword (sub_mod ~ctx popen_expr)
@@ -4471,8 +4472,7 @@ and fmt_structure_item c ~last:last_item ~semisemi {ctx= parent_ctx; ast= si}
44714472 fmt_recmodule c ctx mbs fmt_module_binding (fun x -> Mb x) sub_mb
44724473 | Pstr_type (rec_flag , decls ) -> fmt_type c rec_flag decls ctx
44734474 | Pstr_typext te -> fmt_type_extension c ctx te
4474- | Pstr_value {pvbs_rec= rec_flag; pvbs_bindings= bindings }
4475- ->
4475+ | Pstr_value {pvbs_rec = rec_flag ; pvbs_bindings = bindings } ->
44764476 let update_config c i =
44774477 update_config ~quiet: true c
44784478 (i.pvb_attributes.attrs_before @ i.pvb_attributes.attrs_after)
@@ -4535,7 +4535,7 @@ and fmt_let c ~rec_flag ~bindings ~parens ~fmt_atrs ~fmt_expr ~loc_in
45354535 Params.Exp. wrap c.conf ~parens: (parens || has_attr) ~fits_breaks: false
45364536 (vbox 0
45374537 ( hvbox 0 (list_fl bindings fmt_binding)
4538- $ ( if blank_line_after_in then str " \n " $ cut_break
4538+ $ ( if blank_line_after_in then str " \n " $ cut_break
45394539 else break 1000 indent_after_in )
45404540 $ hvbox 0 fmt_expr ) )
45414541 $ fmt_atrs
0 commit comments