[Liveness] Modify qualifier to show procedure/type as code

Summary:
{F623534971}

instead, we want the procedure name/type to be stylized as code

Reviewed By: skcho

Differential Revision: D29027480

fbshipit-source-id: 35f8e0c4a
master
Ezgi Çiçek 4 years ago committed by Facebook GitHub Bot
parent f089012b42
commit da250cc8b4

@ -364,7 +364,7 @@ let checker {IntraproceduralAnalysis.proc_desc; err_log} =
in
let log_report pvar typ loc =
let message =
F.asprintf "The value written to %a (type %a) is never used" (Pvar.pp Pp.text) pvar
F.asprintf "The value written to `%a` (type `%a`) is never used" (Pvar.pp Pp.text) pvar
(Typ.pp_full Pp.text) typ
in
let ltr = [Errlog.make_trace_element 0 loc "Write of unused value" []] in

Loading…
Cancel
Save