[MacRuby-devel] macruby GCD bug?

2012-01-13 Thread Alan Skipp
I've been continuing with my efforts to implement Fibers using GCD and in the process I think I may have uncovered a Macruby bug - though perhaps it's a bug in my code? Is there anything fundamentally wrong with the code posted below? It consistently results in a EXC_BAD_ACCESS error. Cheers, A

Re: [MacRuby-devel] macruby GCD bug?

2012-01-13 Thread Watson
Hi, it looks like the variable's scope issue. I don't know detail why this crash happen yet. for workaround, you could use variable $array or @array instead of array. Thanks, 2012/1/13 Alan Skipp : > I've been continuing with my efforts to implement Fibers using GCD and in the > process I thi

Re: [MacRuby-devel] macruby GCD bug?

2012-01-13 Thread Alan Skipp
Thanks for the quick response. I'll use your suggested workaround for now. All the best, Al On 13 Jan 2012, at 14:12, Watson wrote: > Hi, > > it looks like the variable's scope issue. > I don't know detail why this crash happen yet. > > for workaround, you could use variable $array or @array i

Re: [MacRuby-devel] MacRuby Xcode templates DO load

2012-01-13 Thread Joshua Ballanco
Hey Jean-Denis, Actually, this is a good find! I think it might even be desirable to at least have the option of installing the templates locally (instead of system-wide). Would you mind filing a bug in Trac requesting that option? Thanks! - Josh On Thursday, January 12, 2012 at 8:37 AM, Je

Re: [MacRuby-devel] MacRuby, Control Tower and Sinatra.

2012-01-13 Thread Joshua Ballanco
Hmm…this is an interesting case. It's possible that we've not fully looked into calling super with explicit block args. Can you see if this can be reduced to a simple, self-contained example? Either way, it would be good to have a Trac ticket for this issue. Thanks! - Josh On Thursday, Jan