[MacRuby-devel] [MacRuby] #290: Hashes do NOT stay ordered

MacRuby ruby-noreply at macosforge.org
Sun Jan 31 06:42:07 PST 2010


#290: Hashes do NOT stay ordered
-----------------------------------+----------------------------------------
 Reporter:  martin.ploeger@…       |        Owner:  eloy.de.enige@…        
     Type:  defect                 |       Status:  closed                 
 Priority:  blocker                |    Milestone:                         
Component:  MacRuby                |   Resolution:  fixed                  
 Keywords:  Hash order             |  
-----------------------------------+----------------------------------------
Changes (by pthomson@…):

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


Comment:

 This has been fixed in trunk thanks to Laurent's refactorings to Hash (I
 believe in r3345).

 {{{
 kid-a:MacRuby local$ macirb
 irb(main):001:0> {:aa=>1, :a=>1}
 => {:aa=>1, :a=>1}
 irb(main):002:0> {:c => 1, :b => 2, :a => 3}
 => {:c=>1, :b=>2, :a=>3}
 }}}

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



More information about the MacRuby-devel mailing list