[self-in-block] Improving the error message for strong_self_not_checked

Reviewed By: ngorogiannis

Differential Revision: D18763918

fbshipit-source-id: 8e6c3cbc4
master
Dulma Churchill 5 years ago committed by Facebook Github Bot
parent 3c6e2469de
commit 431a9beaf0

@ -284,7 +284,7 @@ let report_unchecked_strongself_issues summary (domain : Domain.t) =
let message =
F.asprintf
"The variable `%a`, equal to a weak pointer to `self`, is used without a check for null \
at %a. This could cause a crash."
at %a. This could cause a crash or unexpected behavior."
(Pvar.pp Pp.text) pvar Location.pp loc
in
let ltr = make_trace_unchecked_strongself domain in

Loading…
Cancel
Save