Project

General

Profile

Actions

Bug #10649

closed

get rid of NameError in io/console (fixed at r48982)

Added by nagachika (Tomoyuki Chikanaga) over 9 years ago. Updated about 9 years ago.

Status:
Closed
Target version:
-
ruby -v:
ruby 2.1.5p272 (2014-11-06 revision 48302) [x86_64-darwin13.0]
[ruby-core:67132]

Description

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.

Actions

Also available in: Atom PDF

Like0
Like0Like0