[MacRuby-devel] [MacRuby] #356: autoload is not working

MacRuby ruby-noreply at macosforge.org
Tue Oct 13 19:50:26 PDT 2009


#356: autoload is not working
------------------------+---------------------------------------------------
 Reporter:  dev@…       |        Owner:  lsansonetti@…        
     Type:  defect      |       Status:  closed               
 Priority:  major       |    Milestone:  MacRuby 0.5          
Component:  MacRuby     |   Resolution:  fixed                
 Keywords:              |  
------------------------+---------------------------------------------------
Changes (by lsansonetti@…):

  * status:  new => closed
  * resolution:  => fixed


Old description:

> {{{
> $ macruby -e 'autoload :YAML, "yaml"; p YAML'
> core:in `const_missing:': uninitialized constant YAML (NameError)
>         from -e:1:in `<main>'
> }}}

New description:

 {{{
 $ macruby -e 'autoload :YAML, "yaml"; p YAML'
 core:in `const_missing:': uninitialized constant YAML (NameError)
         from -e:1:in `<main>'
 }}}

--

Comment:

 Should be working in r2790.

 {{{
 $ macruby -e 'autoload :YAML, "yaml"; p YAML'
 YAML
 }}}

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/356#comment:1>
MacRuby <http://macruby.org/>



More information about the MacRuby-devel mailing list