[pulse][objc][nils] Fix printing of non-pod type in the error message

Summary: Typ.pp does not print types by default, use Typ.pp_full instead.

Reviewed By: ngorogiannis

Differential Revision: D29557158

fbshipit-source-id: 62ae20bd5
master
Daiva Naudziuniene 3 years ago committed by Facebook GitHub Bot
parent 4410e9ab79
commit 79e45fae17

@ -81,7 +81,7 @@ let get_message diagnostic =
let nil_issue_kind = function let nil_issue_kind = function
| Invalidation.SelfOfNonPODReturnMethod non_pod_typ -> | Invalidation.SelfOfNonPODReturnMethod non_pod_typ ->
F.asprintf "undefined behaviour caused by nil messaging of non-pod return type (%a)" F.asprintf "undefined behaviour caused by nil messaging of non-pod return type (%a)"
(Typ.pp Pp.text) non_pod_typ (Typ.pp_full Pp.text) non_pod_typ
| Invalidation.InsertionIntoCollection -> | Invalidation.InsertionIntoCollection ->
"nil insertion into collection" "nil insertion into collection"
| Invalidation.BlockCall -> | Invalidation.BlockCall ->

Loading…
Cancel
Save