Nikolai Weibull <mailing-lists.ruby-talk / rawuncut.elitemail.org> writes: > Eric Mahurin wrote: > >> There is no reason Ruby couldn't optimize for the case where a >> variable is declared in the argument list and never used. > > Nor for it to not issue a warning if the variable is declared in the > parameter list but never used, > nikolai This should not happen anyway. There are enough good reasons to ignore some parameters (cf. Integer#times). > Nikolai Weibull -- Christian Neukirchen <chneukirchen / gmail.com> http://chneukirchen.org