[MacRuby] #1477: Macirb no longer understands blocks with more than one argument
MacRuby
ruby-noreply at macosforge.org
Fri Mar 2 02:31:14 PST 2012
#1477: Macirb no longer understands blocks with more than one argument
--------------------------------+-------------------------------------------
Reporter: lastobelus@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: blocker | Milestone:
Component: MacRuby | Keywords:
--------------------------------+-------------------------------------------
Since the Jan. 12th nightly, macirb no longer understands blocks with more
than one argument:
{{{
irb(main):002:0> h={:a => "a", :b => "b"}
=> {:a=>"a", :b=>"b"}
irb(main):003:0> h.each{|k,v| puts k;puts v}
SyntaxError: compile error
(irb):3: duplicated argument name
}}}
(In the first few builds after jan 12, this caused a breakpoint trap)
--
Ticket URL: <http://www.macruby.org/trac/ticket/1477>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list