Project

General

Profile

Actions

Bug #900

closed

warnings in *.rb

Added by znz (Kazuhiro NISHIYAMA) over 15 years ago. Updated almost 13 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
Backport:
[ruby-core:20612]

Description

=begin
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.
=end


Files

check.eucjp.txt (30.6 KB) check.eucjp.txt check all *.rb syntax znz (Kazuhiro NISHIYAMA), 12/17/2008 09:15 PM
Actions #1

Updated by matz (Yukihiro Matsumoto) over 15 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

=begin
Applied in changeset r20859.
=end

Actions

Also available in: Atom PDF

Like0
Like0