[#69084] [Ruby trunk - Feature #11124] [Open] [PATCH] lib/*: use monotonic clock for timeouts — normalperson@...
Issue #11124 has been reported by Eric Wong.
5 messages
2015/05/06
[#69138] [Ruby trunk - Feature #11136] [PATCH] webrick: avoid fcntl module — nobu@...
Issue #11136 has been updated by Nobuyoshi Nakada.
3 messages
2015/05/12
[#69160] [Ruby trunk - Feature #11146] [PATCH] variable.c: initialize generic_iv_tbl at start — nobu@...
Issue #11146 has been updated by Nobuyoshi Nakada.
4 messages
2015/05/13
[#69175] Re: [Ruby trunk - Feature #11146] [PATCH] variable.c: initialize generic_iv_tbl at start
— Eric Wong <normalperson@...>
2015/05/13
nobu@ruby-lang.org wrote:
[ruby-core:69206] [Ruby trunk - Bug #11155] [Open] Files named 'b' cannot be autoloaded
From:
tenderlove@...
Date:
2015-05-15 19:10:42 UTC
List:
ruby-core #69206
Issue #11155 has been reported by Aaron Patterson. ---------------------------------------- Bug #11155: Files named 'b' cannot be autoloaded https://bugs.ruby-lang.org/issues/11155 * Author: Aaron Patterson * Status: Open * Priority: Normal * Assignee: * ruby -v: ruby 2.3.0dev (2015-05-14 trunk 50494) [x86_64-darwin14] * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN ---------------------------------------- I have two files: a.rb ~~~ruby module A autoload :C, 'b' end p ::A::C ~~~ b.rb ~~~ruby puts "START" module A class C end end puts "FINISH" ~~~ When I run a.rb, I get an exception: ~~~ [aaron@TC xxx (master)]$ ruby --disable-gems -I. a.rb START /Users/aaron/git/xxx/b.rb:3:in `<module:A>': uninitialized constant A::C (NameError) from /Users/aaron/git/xxx/b.rb:2:in `<top (required)>' from a.rb:5:in `require' from a.rb:5:in `<main>' [aaron@TC xxx (master)]$ ~~~ If I change the file to something else, like `c`, then the exception will not happen. This seems to break on every version that implements `autoload`. -- https://bugs.ruby-lang.org/