[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ruby-core
Subject:    [ruby-core:68704] [Ruby trunk - Bug #10649] get rid of NameError in io/console (fixed at r48982)
From:       nagachika00 () gmail ! com
Date:       2015-03-31 13:49:06
Message-ID: redmine.journal-51991.20150331134905.5900ecf2342dc9c3 () ruby-lang ! org
[Download RAW message or body]

Issue #10649 has been updated by Tomoyuki Chikanaga.


r48987 and r48989 were backported into `ruby_2_1` branch at r50140.
They are required to get rid of CI failures.

----------------------------------------
Bug #10649: get rid of NameError in io/console (fixed at r48982)
https://bugs.ruby-lang.org/issues/10649#change-51991

* Author: Tomoyuki Chikanaga
* Status: Closed
* Priority: Normal
* Assignee: Nobuyoshi Nakada
* ruby -v: ruby 2.1.5p272 (2014-11-06 revision 48302) [x86_64-darwin13.0]
* Backport: 2.0.0: REQUIRED, 2.1: DONE, 2.2: DONTNEED
----------------------------------------
IO.console raise NameError after IO.console.close.

    % ruby -rio/console -ve 'IO.console.close; IO.console'
    ruby 2.1.5p272 (2014-11-06 revision 48302) [x86_64-darwin13.0]
    -e:1:in `console': `console' is not allowed as a constant name (NameError)
            from -e:1:in `<main>'

It was fixed at r48982 in trunk/2.2. This ticket is for backport management.



-- 
https://bugs.ruby-lang.org/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic