From: nagachika00@... Date: 2014-12-25T13:43:18+00:00 Subject: [ruby-core:67132] [ruby-trunk - Bug #10649] [Closed] get rid of NameError in io/console (fixed at r48982) Issue #10649 has been reported by Tomoyuki Chikanaga. ---------------------------------------- Bug #10649: get rid of NameError in io/console (fixed at r48982) https://bugs.ruby-lang.org/issues/10649 * Author: Tomoyuki Chikanaga * Status: Closed * Priority: Normal * Assignee: Nobuyoshi Nakada * Category: ext * Target version: * ruby -v: ruby 2.1.5p272 (2014-11-06 revision 48302) [x86_64-darwin13.0] * Backport: 2.0.0: REQUIRED, 2.1: REQUIRED, 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 `
' It was fixed at r48982 in trunk/2.2. This ticket is for backport management. -- https://bugs.ruby-lang.org/