On Thu, May 19, 2016 at 07:55:05PM +0200, Marek Polacek wrote:
> On Thu, May 19, 2016 at 12:55:18PM -0400, Jason Merrill wrote:
> > Well, constants aren't declarations.  Why are we calling dump_decl here?
> 
> Eh, not sure what I was thinking...
> 
> We call dump_decl because unify_template_argument_mismatch has %qD:
>     inform (input_location,
>             "  template argument %qE does not match %qD", arg, parm);
> so I suspect we want to print expression ever for PARM:
> 
> Untested, but I think it should test fine.  Ok if testing passes?

Which it did.

        Marek

Reply via email to