From 80429dd7bdb94cf11aba1fdfd7a149458a5a6f28 Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Sat, 25 Aug 2012 23:13:19 -0700 Subject: [PATCH] rustc: Add some more debugging to vtable --- src/rustc/middle/typeck/check/vtable.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rustc/middle/typeck/check/vtable.rs b/src/rustc/middle/typeck/check/vtable.rs index e10d7b5c140..43d730e9cf3 100644 --- a/src/rustc/middle/typeck/check/vtable.rs +++ b/src/rustc/middle/typeck/check/vtable.rs @@ -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) { - debug!("vtable: early_resolve_expr() ex with id %?: %s", - ex.id, expr_to_str(ex, fcx.tcx().sess.intr())); + debug!("vtable: early_resolve_expr() ex with id %? (early: %b): %s", + ex.id, is_early, expr_to_str(ex, fcx.tcx().sess.intr())); let cx = fcx.ccx; match ex.node { ast::expr_path(*) => {