Re: Strange diagnostics behavior with patch

2016-01-28 Thread David Malcolm
On Thu, 2016-01-28 at 21:07 +0100, Thomas Koenig wrote: > Hello world, > > the attached patch fixes the regression of PR 60526 by checking for > the presence of a type with the same name as the variable. Types > effectively have their separate namespace because the names of their > symtrees start

Strange diagnostics behavior with patch

2016-01-28 Thread Thomas Koenig
Hello world, the attached patch fixes the regression of PR 60526 by checking for the presence of a type with the same name as the variable. Types effectively have their separate namespace because the names of their symtrees start with an uppercase letter. So far, so good. However, the error me