[MacRuby] #491: GCD Specs should block variable scoping/copying rules
#491: GCD Specs should block variable scoping/copying rules ----------------------------------------+----------------------------------- Reporter: ernest.prabhakar@… | Owner: lsansonetti@… Type: defect | Status: new Priority: minor | Milestone: MacRuby 0.5 Component: MacRuby | Keywords: ----------------------------------------+----------------------------------- it "should create const copies of dynamic (local) variables" it "should have read-write references to instance (__block) variables" -- Ticket URL: <http://www.macruby.org/trac/ticket/491> MacRuby <http://macruby.org/>
#491: GCD Specs should block variable scoping/copying rules ----------------------------------------+----------------------------------- Reporter: ernest.prabhakar@… | Owner: ernest.prabhakar@… Type: defect | Status: new Priority: minor | Milestone: MacRuby 0.5 Component: MacRuby | Keywords: ----------------------------------------+----------------------------------- Changes (by ernest.prabhakar@…): * owner: lsansonetti@… => ernest.prabhakar@… Old description:
it "should create const copies of dynamic (local) variables" it "should have read-write references to instance (__block) variables"
New description: it "should create const copies of dynamic (local) variables" it "should have read-write references to instance (__block) variables" -- -- Ticket URL: <http://www.macruby.org/trac/ticket/491#comment:1> MacRuby <http://macruby.org/>
#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/bloc... 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/>
participants (1)
-
MacRuby