Skip to content

Commit 0a61a4c

Browse files
committed
Format files
1 parent 028a45b commit 0a61a4c

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

src/analysis/misc_utils.ml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ let parse_identifier (config, source) pos =
6363
let is_current_unit comp_unit =
6464
match Env.get_unit_name () with
6565
| Some current_unit ->
66-
String.equal (current_unit |> Unit_info.modname |>
67-
Compilation_unit.name_as_string) comp_unit
66+
String.equal
67+
(current_unit |> Unit_info.modname |> Compilation_unit.name_as_string)
68+
comp_unit
6869
| None -> false

src/analysis/ptyp_of_type.ml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,7 @@ and label_declaration
186186
(match ld_mutable with
187187
| Mutable _ -> Mutable
188188
| Immutable -> Immutable)
189-
~modalities:
190-
(Typemode.untransl_modalities ld_mutable ld_modalities)
189+
~modalities:(Typemode.untransl_modalities ld_mutable ld_modalities)
191190
(var_of_id ld_id) (core_type ld_type)
192191

193192
and constructor_arguments = function

src/kernel/mocaml.ml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ let setup_reader_config config =
3636
let open Clflags in
3737
let ocaml = config.ocaml in
3838
let to_unit_info name =
39-
Some (name |>
40-
Compilation_unit.of_string |>
41-
Unit_info.make_dummy ~input_name:name)
39+
Some
40+
(name |> Compilation_unit.of_string
41+
|> Unit_info.make_dummy ~input_name:name)
4242
in
4343
Env.set_unit_name (Mconfig.unitname config |> to_unit_info);
4444
Location.input_name := config.query.filename;

0 commit comments

Comments
 (0)