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 @@ -1530,7 +1530,7 @@ end = struct
1530
1530
| Pexp_constant {pconst_desc = Pconst_string (_ , _ , Some _ ); _} -> false
1531
1531
(* Only strings fitting on the line are simple. *)
1532
1532
| Pexp_constant {pconst_desc = Pconst_string (_ , loc , None); _} ->
1533
- Location. height loc = 1 && fit_margin c (width xexp)
1533
+ Exp. is_trivial exp || ( Location. height loc = 1 && fit_margin c (width xexp) )
1534
1534
| Pexp_constant _ -> true
1535
1535
| Pexp_field _ | Pexp_ident _ | Pexp_send _
1536
1536
| 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