On 2018-03-19 19:03, H. S. Teoh wrote:
Yeah, the compiler really ought to be outputting FQNs in error messages, since otherwise you get baffling A != A messages. Though outputting FQNs everywhere has the tendency of bloating error messages to unreadable lengths, esp. when templates are involved. :-( (Though fortunately, no templates are involved in this case.)
The compiler could output the FQN names only when the non qualified names are the same. Should hopefully reduce the bloated error messages.
-- /Jacob Carlborg