summaryrefslogtreecommitdiff
path: root/otherlibs/labltk/browser
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/labltk/browser')
-rw-r--r--otherlibs/labltk/browser/searchid.ml2
-rw-r--r--otherlibs/labltk/browser/searchpos.ml2
2 files changed, 2 insertions, 2 deletions
diff --git a/otherlibs/labltk/browser/searchid.ml b/otherlibs/labltk/browser/searchid.ml
index ab66f0f030..9f112efe4e 100644
--- a/otherlibs/labltk/browser/searchid.ml
+++ b/otherlibs/labltk/browser/searchid.ml
@@ -237,7 +237,7 @@ let rec search_type_in_signature t ~sign ~prefix ~mode =
match r with None -> false | Some x -> matches x
end
| Type_record(l, rep) ->
- List.exists l ~f:(fun (_, _, t) -> matches t)
+ List.exists l ~f:(fun (_, _, _, t) -> matches t)
end
then [lid_of_id id, Ptype] else []
| Sig_exception (id, l) ->
diff --git a/otherlibs/labltk/browser/searchpos.ml b/otherlibs/labltk/browser/searchpos.ml
index cf79d940da..41400755ea 100644
--- a/otherlibs/labltk/browser/searchpos.ml
+++ b/otherlibs/labltk/browser/searchpos.ml
@@ -173,7 +173,7 @@ let search_pos_type_decl td ~pos ~env =
List.iter dl
~f:(fun (_, tl, _, _) -> List.iter tl ~f:(search_pos_type ~pos ~env))
| Ptype_record dl ->
- List.iter dl ~f:(fun (_, _, t, _) -> search_pos_type t ~pos ~env) in
+ List.iter dl ~f:(fun (_, _, _, t, _) -> search_pos_type t ~pos ~env) in
search_tkind td.ptype_kind;
List.iter td.ptype_cstrs ~f:
begin fun (t1, t2, _) ->