Bug #900: warnings in *.rb
http://redmine.ruby-lang.org/issues/show/900

Author: Kazuhiro NISHIYAMA
Status: Open, Priority: Normal

results in lib:
% find lib -name '*.rb' | xargs -n1 ruby-trunk -wc 2>&1 | grep -v '^Syntax OK$' lib/optparse/version.rb:29: warning: shadowing outer local variable - pkg
lib/optparse/version.rb:50: warning: shadowing outer local variable - klass
lib/rinda/ring.rb:259: warning: shadowing outer local variable - ts
lib/rinda/ring.rb:265: warning: shadowing outer local variable - ts
lib/racc/parser.rb:173: warning: shadowing outer local variable - tok
lib/racc/parser.rb:192: warning: (...) interpreted as grouped expression
lib/shell/command-processor.rb:29: warning: shadowing outer local variable - m
lib/shell/command-processor.rb:127: warning: `&' interpreted as argument prefix
lib/shell/process-controller.rb:65: warning: `&' interpreted as argument prefix
lib/rexml/validation/relaxng.rb:439: warning: mismatched indentations at 'end' with 'if' at 433
lib/prime.rb:414: warning: shadowing outer local variable - j
lib/net/imap.rb:3219: warning: shadowing outer local variable - k
lib/irb/completion.rb:162: warning: shadowing outer local variable - m
lib/irb/ext/change-ws.rb:59: warning: mismatched indentations at 'end' with 'class' at 13
lib/yaml/baseemitter.rb:122: warning: mismatched indentations at 'end' with 'def' at 113
lib/yaml/yamlnode.rb:19: warning: shadowing outer local variable - v
%

all results attached.


----------------------------------------
http://redmine.ruby-lang.org