From: Sam R. <sro...@un...> - 2003-03-16 03:57:41
|
[ensemble] ~/p/ruby/vcard $ irb -r osx/cocoa irb(main):001:0> OSX::NSString.alloc.initWithCharacters(nil, :length, 2) /Library/Frameworks/RubyCocoa.framework/Versions/A/Resources/ruby/osx/objc/oc_wrapper.rb:17: [BUG] Bus Error ruby 1.6.7 (2002-03-01) [powerpc-darwin6.0] Abort trap Normally, I would say this would be a bug... but perhaps its an architectural thing, and ruby/cocoa simply can't tell that I'm passing nil to an objective/c message and claiming it's a ucs-2 string! This was caused by a typo in irb that I made. Cheers, Sam |