[biabduction] reduce logging noise

Summary: Type environment failures lead to too much noise.

Reviewed By: jvillard

Differential Revision: D25397482

fbshipit-source-id: 6588102a7
master
Nikos Gorogiannis 4 years ago committed by Facebook GitHub Bot
parent 0cbe2f9b08
commit 75d2674a45

@ -486,10 +486,10 @@ let typ_get_recursive_flds tenv typ_exp =
| Some {fields} ->
List.map ~f:fst3 (List.filter ~f:(filter typ) fields)
| None ->
L.(debug Analysis Quiet)
"@\ntyp_get_recursive_flds: unexpected %a unknown struct type: %a@." Exp.pp typ_exp
L.(debug Analysis Verbose)
"@\ntyp_get_recursive_flds: unexpected %a unknown struct type: %a@\n" Exp.pp typ_exp
Typ.Name.pp name ;
[] (* ToDo: assert false *) )
[] )
| Tint _ | Tvoid | Tfun | Tptr _ | Tfloat _ | Tarray _ | TVar _ ->
[] )
| Exp.Var _ ->

Loading…
Cancel
Save