#491: GCD Specs should block variable scoping/copying rules ----------------------------------------+----------------------------------- Reporter: ernest.prabha...@… | Owner: ernest.prabha...@… Type: defect | Status: closed Priority: minor | Milestone: MacRuby 0.5 Component: MacRuby | Resolution: fixed Keywords: | ----------------------------------------+----------------------------------- Changes (by ernest.prabha...@…):
* 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/> _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel