File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ let iterator ~current_buffer_path ~index ~stamp ~reduce_for_uid =
9191
9292let items ~index ~stamp (config : Mconfig.t ) items =
9393 let module Shape_reduce = Shape_reduce. Make (struct
94- let fuel () : Misc_stdlib.Maybe_bounded.t = Bounded { bound = 10 }
94+ let fuel () = Misc_stdlib.Maybe_bounded. of_int 10
9595
9696 let read_unit_shape ~diagnostics :_ ~unit_name =
9797 log ~title: " read_unit_shape" " inspecting %s" unit_name;
Original file line number Diff line number Diff line change @@ -880,7 +880,7 @@ let get_linked_uids ~config ~comp_unit decl_uid =
880880let find_definition_uid ~config ~env ~(decl : Env_lookup.item ) path =
881881 let namespace = decl.namespace in
882882 let module Reduce = Shape_reduce. Make (struct
883- let fuel () : Misc_stdlib.Maybe_bounded.t = Bounded { bound = 10 }
883+ let fuel () = Misc_stdlib.Maybe_bounded. of_int 10
884884 let read_unit_shape ~diagnostics :_ ~unit_name =
885885 log ~title: " read_unit_shape" " inspecting %s" unit_name;
886886 match
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ module Reduce_conf (Loaded_shapes : sig
5050 val shapes : (Compilation_unit .t , Shape .t ) Hashtbl .t
5151end ) =
5252struct
53- let fuel () : Misc_stdlib.Maybe_bounded.t = Bounded { bound = 10 }
53+ let fuel () = Misc_stdlib.Maybe_bounded. of_int 10
5454
5555 let try_load ~unit_name () =
5656 match
You can’t perform that action at this time.
0 commit comments