[MacRuby] #1389: If autoload with "./", can't delete autoload target information after require.
#1389: If autoload with "./", can't delete autoload target information after require. ------------------------------+--------------------------------------------- Reporter: kouji@… | Owner: lsansonetti@… Type: defect | Status: new Priority: major | Milestone: Component: MacRuby | Keywords: autoload ------------------------------+--------------------------------------------- Reduction below. {{{ --- a.rb --- open("zzz.rb", "w") {|f| f.puts "class ZZZ; def self.ok;:ok;end;end"} autoload :ZZZ, "./zzz.rb" require "./zzz.rb" p ZZZ.ok --- result --- $ env DYLD_LIBRARY_PATH=/Users/kouji/work/MacRuby/MacRuby ./macruby a.rb /Users/kouji/work/MacRuby/MacRuby/zzz.rb:1:in `<main>': uninitialized constant ZZZ (NameError) from /Users/kouji/work/MacRuby/MacRuby/a.rb:3:in `<main>' }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/1389> MacRuby <http://macruby.org/>
#1389: If autoload with "./", can't delete autoload target information after require. ------------------------------+--------------------------------------------- Reporter: kouji@… | Owner: lsansonetti@… Type: defect | Status: new Priority: major | Milestone: Component: MacRuby | Keywords: autoload ------------------------------+--------------------------------------------- Comment(by kouji@…): This issue should be fixed in https://github.com/MacRuby/MacRuby/commit/31dffc8bb486b9c5e7613b43546055bc79... . -- Ticket URL: <http://www.macruby.org/trac/ticket/1389#comment:1> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby