On 31/05/2010, at 11:47 AM, Laurent Sansonetti wrote:

> Hi Paul,
> 
> I believe that here the function is typed to return an anonymous struct 
> (likely a bug in the bridgesupport file), so MacRuby won't be able to 
> associate it as an NSRange. You may be able to access location using 
> string_range[0] and length using string_range[1].
> 
> Laurent

Thanks Laurent.

That appears not to work:

   undefined method `[]' for #<Boxed:0x2006947a0> (NoMethodError)

Is the bridgesupport file produced elsewhere within Apple? (i.e. out of your 
control)

Any other suggestions for getting around this bug?

Thanks,
Paul

-----------------
Paul Howson
Warwick Qld Australia


_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to