Project

General

Profile

Bug #4137

Test Failure because of assigned but unused variable: ruby/test_rubyoptions.rb

Added by naruse (Yui NARUSE) over 8 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Normal
Target version:
-
ruby -v:
ruby 1.9.3dev (2010-12-08 trunk 30145) [x86_64-freebsd8.1]
Backport:
[ruby-dev:42724]

Description

=begin
test-all が以下のように失敗します

3) Failure:
test_shadowing_variable(TestRubyOptions) [/home/naruse/ruby/test/ruby/test_rubyoptions.rb:462]:
[ruby-dev:42718].
<["-e:3: warning: shadowing outer local variable - a"]> expected but was
<["-e:3: warning: shadowing outer local variable - a",
"-e:3: warning: assigned but unused variable - a"]>.
=end

History

#1

Updated by nobu (Nobuyoshi Nakada) over 8 years ago

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

=begin
This issue was solved with changeset r30151.
Yui, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

=end

Also available in: Atom PDF