Re: [MacRuby-devel] NSNumber Numeric Patch

2008-11-29 Thread Jonathan deWerd
Thread about patch that adds Numeric methods directly to NSNumbers Just caught a "todo" as I was looking through the code. NSNumbers returned from objc methods are (sometimes not?) converted to ruby objects. That code would be unnecessary, since the conversion will happen automatically. In e

Re: [MacRuby-devel] NSNumber Numeric Patch

2008-11-29 Thread Jonathan deWerd
Hi Jonathan, On Nov 28, 2008, at 7:08 PM, Jonathan deWerd wrote: Hi! I was tracking down a bug in my app that caused a crash, and I finally narrowed it down to the conversion between NSNumber and the Numeric types. I don't think that was the direct cause of the crash (the immediate cause was a

Re: [MacRuby-devel] NSNumber Numeric Patch

2008-11-28 Thread Laurent Sansonetti
Hi Jonathan, On Nov 28, 2008, at 7:08 PM, Jonathan deWerd wrote: Hi! I was tracking down a bug in my app that caused a crash, and I finally narrowed it down to the conversion between NSNumber and the Numeric types. I don't think that was the direct cause of the crash (the immediate cause

[MacRuby-devel] NSNumber Numeric Patch

2008-11-28 Thread Jonathan deWerd
Hi! I was tracking down a bug in my app that caused a crash, and I finally narrowed it down to the conversion between NSNumber and the Numeric types. I don't think that was the direct cause of the crash (the immediate cause was a longjmp to a nonexistant "thread"), but manually converting