rustc: Add some more debugging to vtable
This commit is contained in:
parent
0de379fdf0
commit
80429dd7bd
@ -294,8 +294,8 @@ fn connect_trait_tps(fcx: @fn_ctxt, expr: @ast::expr, impl_tys: ~[ty::t],
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn early_resolve_expr(ex: @ast::expr, &&fcx: @fn_ctxt, is_early: bool) {
|
fn early_resolve_expr(ex: @ast::expr, &&fcx: @fn_ctxt, is_early: bool) {
|
||||||
debug!("vtable: early_resolve_expr() ex with id %?: %s",
|
debug!("vtable: early_resolve_expr() ex with id %? (early: %b): %s",
|
||||||
ex.id, expr_to_str(ex, fcx.tcx().sess.intr()));
|
ex.id, is_early, expr_to_str(ex, fcx.tcx().sess.intr()));
|
||||||
let cx = fcx.ccx;
|
let cx = fcx.ccx;
|
||||||
match ex.node {
|
match ex.node {
|
||||||
ast::expr_path(*) => {
|
ast::expr_path(*) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user