[MacRuby-devel] [MacRuby] #491: GCD Specs should block variable scoping/copying rules
MacRuby
ruby-noreply at macosforge.org
Mon Dec 14 15:36:24 PST 2009
#491: GCD Specs should block variable scoping/copying rules
----------------------------------------+-----------------------------------
Reporter: ernest.prabhakar@… | Owner: ernest.prabhakar@…
Type: defect | Status: closed
Priority: minor | Milestone: MacRuby 0.5
Component: MacRuby | Resolution: fixed
Keywords: |
----------------------------------------+-----------------------------------
Changes (by ernest.prabhakar@…):
* status: new => closed
* resolution: => fixed
Comment:
I've added a spec for this:
http://www.macruby.org/trac/browser/MacRuby/trunk/spec/macruby/core/gcd/block_spec.rb
And it seems to pass:
$ ./mspec/bin/mspec ci -B ./spec/macruby.mspec
./spec/macruby/core/gcd/block_spec.rb -f sMacRuby version 0.5 (ruby 1.9.0)
[universal-darwin10.0, x86_64]
Dispatch blocks
- should create const copies of dynamic (local) variables
- should have read-write references to instance (__block) variables
Finished in 0.468365 seconds
1 file, 2 examples, 2 expectations, 0 failures, 0 errors
--
Ticket URL: <http://www.macruby.org/trac/ticket/491#comment:2>
MacRuby <http://macruby.org/>
More information about the MacRuby-devel
mailing list