Hi,
On 01/23/2014 03:05 PM, Jason Merrill wrote:
On 01/22/2014 04:29 PM, Paolo Carlini wrote:
On 01/22/2014 10:10 PM, Jason Merrill wrote:
Yep, that's along the lines I was thinking of. But again, prev_scope
is irrelevant here, so the new code shouldn't mention it at all.
Well, in practice I have to mention it in the error_at itself.
Why? prev_scope is the context where the name is written, i.e.
current_class_type. Why should the diagnostic treat it as an explicit
qualifier?
Jason, no problem, you choose. I only wanted to use the same compact
form 'A::B' used in the non-template case. Which form do you prefer?
Paolo.