http://d.puremagic.com/issues/show_bug.cgi?id=3960
yebblies <yebbl...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |yebbl...@gmail.com --- Comment #11 from yebblies <yebbl...@gmail.com> 2011-06-10 23:53:26 PDT --- (In reply to comment #8) > This is accepts-invalid, not an enhancement request. > > http://www.digitalmars.com/d/1.0/function.html > "It is an error to declare a local variable that is never referred to." See: http://www.digitalmars.com/d/archives/digitalmars/D/bugs/2105.html http://www.digitalmars.com/d/archives/digitalmars/D/Re_Wish_Variable_Not_Used_Warning_73539.html It actually seems more likely that this is a bug in the spec, as I think Walter is against pretty much anything that requires flow analysis. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------