[infer][scheduler] use the on-demand analysis when retrieving the procedure description for a given procedure name to make sure the summary exsits

Reviewed By: sblackshear

Differential Revision: D6778802

fbshipit-source-id: 0a1d91d
master
Jeremy Dubreil 7 years ago committed by Facebook Github Bot
parent c1fd661648
commit bbca94569c

@ -46,7 +46,7 @@ let get_extended_args_for_method_with_block_analysis act_params =
let resolve_method_with_block_args_and_analyze ~caller_pdesc pname act_params = let resolve_method_with_block_args_and_analyze ~caller_pdesc pname act_params =
let pdesc_opt = let pdesc_opt =
match Specs.get_summary pname with match Ondemand.analyze_proc_name ~caller_pdesc pname with
| Some summary -> | Some summary ->
Some (Specs.get_proc_desc summary) Some (Specs.get_proc_desc summary)
| None -> | None ->

Loading…
Cancel
Save