[MacRuby] #851: bug in yield while inside Proc#call (was: rake and macrake behaviour differ)
MacRuby
ruby-noreply at macosforge.org
Tue Aug 17 11:43:10 PDT 2010
#851: bug in yield while inside Proc#call
----------------------------------------+-----------------------------------
Reporter: dave.baldwin@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: minor | Milestone:
Component: MacRuby | Keywords: rake
----------------------------------------+-----------------------------------
Comment(by lsansonetti@…):
Here is a reduction:
{{{
$ ./miniruby -e "def foo; bar { yield }; end; def bar(&p); p.call; end;
foo { p 42 }"
/Users/lrz/src/macruby-trunk/-e:1:in `foo': no block given
(LocalJumpError)
from /Users/lrz/src/macruby-trunk/-e:1:in `<main>'
}}}
Renamed the bug title accordingly.
--
Ticket URL: <http://www.macruby.org/trac/ticket/851#comment:2>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list