Skip to content

Commit 4bfc746

Browse files
committed
Make record_declaration_dependency side-effectful
1 parent 794e04d commit 4bfc746

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/ocaml/typing/cmt_format.ml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -477,13 +477,9 @@ let add_saved_type b = saved_types := b :: !saved_types
477477
let get_saved_types () = !saved_types
478478
let set_saved_types l = saved_types := l
479479

480-
(*
481480
let record_declaration_dependency (rk, uid1, uid2) =
482481
if not (Uid.equal uid1 uid2) then
483482
uids_deps := (rk, uid1, uid2) :: !uids_deps
484-
*)
485-
486-
let record_declaration_dependency (_rk, _uid1, _uid2) = ()
487483

488484
let save_cmt target cu binary_annots initial_env cmi shape =
489485
if !Clflags.binary_annotations && not !Clflags.print_types then begin

0 commit comments

Comments
 (0)