@ -26,9 +26,9 @@ let merge_global_tenvs infer_deps_file =
L . progress " Merging type environments took %a@. " Mtime . Span . pp ( Mtime_clock . count time0 )
let merge_json_results infer_out_src json_ file_name =
let main_changed_fs_file = Config. results_dir ^/ json_file_name in
let changed_fs_file = infer_out_src ^/ json_file_name in
let merge_json_results infer_out_src json_ entry =
let main_changed_fs_file = ResultsDir. get_path json_entry in
let changed_fs_file = ResultsDirEntryName . get_path ~ results_dir : infer_out_src json_entry in
let main_json = try YB . from_file main_changed_fs_file | > YBU . to_list with Sys_error _ -> [] in
let changed_json = try YB . from_file changed_fs_file | > YBU . to_list with Sys_error _ -> [] in
let all_fs =
@ -50,7 +50,7 @@ let merge_all_json_results merge_results results_json_str =
let merge_changed_functions () =
let merge_changed_functions_json infer_out_src =
merge_json_results infer_out_src Config . export_changed_functions_output
merge_json_results infer_out_src ChangedFunctions
in
merge_all_json_results merge_changed_functions_json " changed functions "