[MacRuby-devel] [MacRuby] #652: "alias" keyword doesn't compile with symbolized-interpolated-strings

MacRuby ruby-noreply at macosforge.org
Tue May 11 18:32:33 PDT 2010


#652: "alias" keyword doesn't compile with symbolized-interpolated-strings
---------------------------------------+------------------------------------
 Reporter:  joshua.ballanco@…          |        Owner:  lsansonetti@…        
     Type:  defect                     |       Status:  closed               
 Priority:  major                      |    Milestone:  MacRuby 0.7          
Component:  MacRuby                    |   Resolution:  fixed                
 Keywords:                             |  
---------------------------------------+------------------------------------
Changes (by lsansonetti@…):

  * status:  new => closed
  * resolution:  => fixed
  * milestone:  => MacRuby 0.7


Comment:

 Should be fixed in r4076.

 {{{
 $ cat t.rb
 class String
   a = 'length'
   b = :bar
   alias :"get#{b.capitalize}" :"#{a}"
 end

 p "test".getBar
 $ ./miniruby t.rb
 4
 }}}

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



More information about the MacRuby-devel mailing list