On Friday, April 20, 2012 02:53:25 Andrej Mitrovic wrote: > Can I remove this section from the D docs, in functions? : > > " > Local Variables > It is an error to use a local variable without first assigning it a > value. The implementation may not always be able to detect these > cases. Other language compilers sometimes issue a warning for this, > but since it is always a bug, it should be an error. > > It is an error to declare a local variable that is never referred to. > Dead variables, like anachronistic dead code, are just a source of > confusion for maintenance programmers. > " > > I don't think this will ever be implemented, or that it should be for > that matter.
Ask in the main list. My inclination would be that it should be removed, but the main D list is the place to discuss it. - Jonathan M Davis