Project

General

Profile

Actions

Bug #4137

closed

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

Added by naruse (Yui NARUSE) over 13 years ago. Updated almost 13 years ago.

Status:
Closed
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 が以下のように失敗します

  1. 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
Actions #1

Updated by nobu (Nobuyoshi Nakada) over 13 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

Actions

Also available in: Atom PDF

Like0
Like0