File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -1486,7 +1486,7 @@ end = struct
1486
1486
| Pexp_constant {pconst_desc = Pconst_string (_ , _ , Some _ ); _} -> false
1487
1487
(* Only strings fitting on the line are simple. *)
1488
1488
| Pexp_constant {pconst_desc = Pconst_string (_ , loc , None); _} ->
1489
- Location. height loc = 1 && fit_margin c (width xexp)
1489
+ Exp. is_trivial exp || ( Location. height loc = 1 && fit_margin c (width xexp) )
1490
1490
| Pexp_constant _ -> true
1491
1491
| Pexp_field _ | Pexp_ident _ | Pexp_send _
1492
1492
| Pexp_construct (_, None )
Original file line number Diff line number Diff line change @@ -33,8 +33,7 @@ let () =
33
33
messages :=
34
34
Message_store.create (Session_id.of_string "")
35
35
(* Tuareg indents these lines too far to the left. *)
36
- "herd-retransmitter"
37
- Message_store.Message_size.Byte
36
+ "herd-retransmitter" Message_store.Message_size.Byte
38
37
39
38
let () =
40
39
raise
You can’t perform that action at this time.
0 commit comments