Skip to content

Commit af6e4b7

Browse files
committed
Resolve conflicts
1 parent 98ee01d commit af6e4b7

File tree

4 files changed

+3
-30
lines changed

4 files changed

+3
-30
lines changed

src/analysis/construct.ml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -517,10 +517,7 @@ module Gen = struct
517517
let arg, name = make_arg env label tyleft in
518518
let value_description =
519519
{ val_type = tyleft;
520-
val_kind =
521-
(* CR-someday: this sort should be based on the jkind of [tyleft]. But
522-
this isn't important since this value is just used for printing. *)
523-
Val_reg (Base Value);
520+
val_kind = Val_reg;
524521
val_loc = Location.none;
525522
val_attributes = [];
526523
val_zero_alloc = Zero_alloc.default;

src/analysis/typedtree_utils.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ let location_of_declaration ~uid =
4848
let of_value_binding vb =
4949
let bound_idents = Typedtree.let_bound_idents_full [ vb ] in
5050
ListLabels.find_map
51-
~f:(fun (_, loc, _, _, uid') -> if uid = uid' then Some loc else None)
51+
~f:(fun (_, loc, _, uid') -> if uid = uid' then Some loc else None)
5252
bound_idents
5353
in
5454
function

src/ocaml/typing/cmt_format.ml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -107,13 +107,7 @@ let iter_on_declaration f decl =
107107
| Value vd -> f vd.val_val.val_uid decl;
108108
| Value_binding vb ->
109109
let bound_idents = let_bound_idents_full [vb] in
110-
<<<<<<< janestreet/merlin-jst:merge-5.2.0minus-24
111-
List.iter ~f:(fun (_, _, _, _, uid) -> f uid decl) bound_idents
112-
||||||| oxcaml/oxcaml:8abf835dda41a9b2949b886a0a26950d87ddc9a7
113-
List.iter (fun (_, _, _, _, uid) -> f uid decl) bound_idents
114-
=======
115-
List.iter (fun (_, _, _, uid) -> f uid decl) bound_idents
116-
>>>>>>> oxcaml/oxcaml:996a6635f0b131d78288b07227effb84b88cd035
110+
List.iter ~f:(fun (_, _, _, uid) -> f uid decl) bound_idents
117111
| Type td ->
118112
if not (Btype.is_row_name (Ident.name td.typ_id)) then
119113
f td.typ_type.type_uid (Type td)

src/ocaml/typing/jkind.ml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3228,18 +3228,8 @@ module Format_history = struct
32283228
fprintf ppf
32293229
"it's the element type (the second type parameter) for a@ block index \
32303230
(idx or mut_idx)"
3231-
<<<<<<< janestreet/merlin-jst:merge-5.2.0minus-24
3232-
| Structure_item ->
3233-
fprintf ppf "it's the type of something stored in a module"
3234-
| Signature_item -> fprintf ppf "it's the type of something in a signature"
32353231
| Merlin ->
32363232
fprintf ppf "merlin needed to create a fake AST node"
3237-
||||||| oxcaml/oxcaml:8abf835dda41a9b2949b886a0a26950d87ddc9a7
3238-
| Structure_item ->
3239-
fprintf ppf "it's the type of something stored in a module"
3240-
| Signature_item -> fprintf ppf "it's the type of something in a signature"
3241-
=======
3242-
>>>>>>> oxcaml/oxcaml:996a6635f0b131d78288b07227effb84b88cd035
32433233

32443234
let format_concrete_legacy_creation_reason ppf :
32453235
History.concrete_legacy_creation_reason -> unit = function
@@ -4076,15 +4066,7 @@ module Debug_printers = struct
40764066
| Old_style_unboxed_type -> fprintf ppf "Old_style_unboxed_type"
40774067
| Array_element -> fprintf ppf "Array_element"
40784068
| Idx_element -> fprintf ppf "Idx_element"
4079-
<<<<<<< janestreet/merlin-jst:merge-5.2.0minus-24
4080-
| Structure_item -> fprintf ppf "Structure_item"
4081-
| Signature_item -> fprintf ppf "Signature_item"
40824069
| Merlin -> fprintf ppf "Merlin"
4083-
||||||| oxcaml/oxcaml:8abf835dda41a9b2949b886a0a26950d87ddc9a7
4084-
| Structure_item -> fprintf ppf "Structure_item"
4085-
| Signature_item -> fprintf ppf "Signature_item"
4086-
=======
4087-
>>>>>>> oxcaml/oxcaml:996a6635f0b131d78288b07227effb84b88cd035
40884070

40894071
let concrete_legacy_creation_reason ppf :
40904072
History.concrete_legacy_creation_reason -> unit = function

0 commit comments

Comments
 (0)