[MacRuby] #1250: Converts hash argument to array.
#1250: Converts hash argument to array. ------------------------------+--------------------------------------------- Reporter: kouji@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: MacRuby 0.11 Component: MacRuby | Keywords: rails ------------------------------+--------------------------------------------- The following code does not perform as expected. {{{ def f(a, b = {}, &block) p([a, b]) end block = Proc.new {} f(:a, :b => true, &block) }}} Result: {{{ $ ruby19 t.rb [:a, {:b=>true}] $ macruby t.rb [:a, [:b, true]] }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/1250> MacRuby <http://macruby.org/>
#1250: Converts hash argument to array. ------------------------------+--------------------------------------------- Reporter: kouji@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: MacRuby 0.11 Component: MacRuby | Keywords: rails ------------------------------+--------------------------------------------- Comment(by kouji@…): I fixed this bug in https://github.com/MacRuby/MacRuby/commit/382c2f97b4625c82ace4f0dfb96771cf08.... So could you close this ticket? Thanks. -- Ticket URL: <http://www.macruby.org/trac/ticket/1250#comment:1> MacRuby <http://macruby.org/>
#1250: Converts hash argument to array. ------------------------------+--------------------------------------------- Reporter: kouji@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: blocker | Milestone: MacRuby 0.11 Component: MacRuby | Resolution: fixed Keywords: rails | ------------------------------+--------------------------------------------- Changes (by lsansonetti@…): * status: new => closed * resolution: => fixed Comment: Thanks, closing. -- Ticket URL: <http://www.macruby.org/trac/ticket/1250#comment:2> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby