Re: [C++ Patch] PR 51230

2011-11-20 Thread Jason Merrill
OK. Jason

Re: [C++ Patch] PR 51230

2011-11-20 Thread Paolo Carlini
Hi, Hmm, if %qE supports types, I guess we might as well use that. OK. essentially it works because of these lines in dump_expr: case TEMPLATE_TYPE_PARM: case BOUND_TEMPLATE_TEMPLATE_PARM: dump_type (t, flags); break; note, however, that this means TEMPLATE_TEMPLATE_PARM i

Re: [C++ Patch] PR 51230

2011-11-20 Thread Jason Merrill
Hmm, if %qE supports types, I guess we might as well use that. OK. Jason

[C++ Patch] PR 51230

2011-11-19 Thread Paolo Carlini
Hi, apparently in the new deductions notes we are not handling correctly non-type parameters in some messages, like in: template struct A {}; template void foo(A, A); void bar() { foo(A<0>(), A<1>()); } we use %qT in unify_inconsistency and the output is garbled. The below is the most co