[MacRuby] #600: hash access

MacRuby ruby-noreply at macosforge.org
Sat Dec 4 11:53:28 PST 2010


#600: hash access
-------------------------------------+--------------------------------------
 Reporter:  mattaimonetti@…          |       Owner:  lsansonetti@…        
     Type:  defect                   |      Status:  new                  
 Priority:  blocker                  |   Milestone:  MacRuby 0.6          
Component:  MacRuby                  |    Keywords:  hash                 
-------------------------------------+--------------------------------------

Comment(by jhemmelg@…):

 I don't know how significant this is, but the first instance wins -

 {{{
 irb(main):007:0> NSDictionary.dictionaryWithDictionary({:foo=>:bar,
 "foo"=>"bar"})
 => {:foo=>:bar}
 irb(main):008:0> NSDictionary.dictionaryWithDictionary({"foo"=>"bar",
 :foo=>:bar})
 => {"foo"=>"bar"}
 }}}

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



More information about the macruby-tickets mailing list