[MacRuby-devel] [MacRuby] #826: Symbol#instance_eval raises a TypeError

MacRuby ruby-noreply at macosforge.org
Thu Aug 5 00:49:45 PDT 2010


#826: Symbol#instance_eval raises a TypeError
-------------------------------------+--------------------------------------
 Reporter:  eloy.de.enige@…          |       Owner:  lsansonetti@…        
     Type:  defect                   |      Status:  new                  
 Priority:  blocker                  |   Milestone:                       
Component:  MacRuby                  |    Keywords:  dietrb               
-------------------------------------+--------------------------------------
 {{{
 % macruby -e ':foo.instance_eval { p self }'
 /Users/eloy/code/MacRuby/trunk/-e:1:in `<main>': can't define singleton
 (TypeError)

 % ruby19 -e ':foo.instance_eval { p self }'
 :foo

 % ruby -e ':foo.instance_eval { p self }'
 :foo
 }}}

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/826>
MacRuby <http://macruby.org/>



More information about the MacRuby-devel mailing list