From: Lazaridis Ilias Date: 2011-07-05T02:34:35+09:00 Subject: [ruby-core:37786] [Ruby 1.9 - Feature #3768] Constant Lookup doesn't work in a subclass of BasicObject Issue #3768 has been updated by Lazaridis Ilias. =begin Yukihiro Matsumoto wrote: > This is not a bug. The author has reported a "bug", which was rejected. It's not necessary to change the issue type, in fact it's wrong to do so (because this remains a bug-report and not a feature request, see title). Some more details on issue-tracking: #4963 =end ---------------------------------------- Feature #3768: Constant Lookup doesn't work in a subclass of BasicObject http://redmine.ruby-lang.org/issues/3768 Author: Thomas Sawyer Status: Rejected Priority: Normal Assignee: Yukihiro Matsumoto Category: lib Target version: =begin ruby-1.9.2-p0 > module M ruby-1.9.2-p0 ?> end => nil ruby-1.9.2-p0 > class X < BasicObject ruby-1.9.2-p0 ?> include M ruby-1.9.2-p0 ?> end NameError: uninitialized constant X::M from (irb):4:in `' from (irb):3 from /home/trans/.rvm/rubies/ruby-1.9.2-p0/bin/irb:17:in `
' =end -- http://redmine.ruby-lang.org