Issue 11425 - Broken shadowing variable diagnostic

https://d.puremagic.com/issues/show_bug.cgi?id=11425