File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -310,7 +310,7 @@ let load_cmt ~config comp_unit ml_or_mli =
310310 Ok (source_file, cmt_infos)
311311 | None -> Error ()
312312
313- let find_declaration_uid ~env ~fallback_uid path =
313+ let scrape_alias ~env ~fallback_uid path =
314314 let rec non_alias_declaration_uid ~fallback_uid path =
315315 match Env. find_module path env with
316316 | { md_type = Mty_alias path ; md_uid = fallback_uid ; _ } ->
@@ -344,7 +344,7 @@ let uid_of_path ~config ~env ~ml_or_mli ~decl_uid path ns =
344344 end )
345345 in
346346 match ml_or_mli with
347- | `MLI -> Some (find_declaration_uid ~fallback_uid: decl_uid ~env path)
347+ | `MLI -> Some (scrape_alias ~fallback_uid: decl_uid ~env path)
348348 | `ML ->
349349 let shape = Env. shape_of_path ~namespace: ns env path in
350350 log ~title: " shape_of_path" " initial: %a"
You can’t perform that action at this time.
0 commit comments