Improve type.ml logging.
This commit is contained in:
parent
ff6278f51a
commit
8217ce6228
@ -1589,8 +1589,9 @@ let process_crate (cx:ctxt) (crate:Ast.crate) : unit =
|
|||||||
let _ =
|
let _ =
|
||||||
iflog cx
|
iflog cx
|
||||||
(fun _ ->
|
(fun _ ->
|
||||||
log cx "recording resolved lval #%d type %a"
|
log cx "recording resolved lval #%d = %a type %a"
|
||||||
(int_of_node id)
|
(int_of_node id)
|
||||||
|
Ast.sprintf_lval (Hashtbl.find cx.ctxt_all_lvals id)
|
||||||
Ast.sprintf_ty ty)
|
Ast.sprintf_ty ty)
|
||||||
in
|
in
|
||||||
Hashtbl.add cx.ctxt_all_lval_types id ty
|
Hashtbl.add cx.ctxt_all_lval_types id ty
|
||||||
|
Loading…
x
Reference in New Issue
Block a user