Re: [MacRuby-devel] Segfault on NSSet from Ruby Array

2008-11-06 Thread Daniel A Carleton
On Thu, Nov 6, 2008 at 2:03 PM, Laurent Sansonetti <[EMAIL PROTECTED]> wrote: > The -[NSSet setWithObjects:] method accepts a vararg list which is not > supported yet. Feel free to file a bug on the tracker if you want to follow > this :) Ok, thanks! I'll just wait to see the varargs feature appe

Re: [MacRuby-devel] Segfault on NSSet from Ruby Array

2008-11-06 Thread Laurent Sansonetti
The -[NSSet setWithObjects:] method accepts a vararg list which is not supported yet. Feel free to file a bug on the tracker if you want to follow this :) In the meantime, you can use -[NSSet setWithArray:] which should work. >> NSSet.setWithArray(['one','two','three']).allObjects => ["two",

[MacRuby-devel] Segfault on NSSet from Ruby Array

2008-10-31 Thread Daniel A Carleton
Hello List, Am I right in thinking the below statement should create an NSSet containing the NSStrings "foo" and "bar"? Even if not the segfault seems like a bug. >> s = NSSet.setWithObjects(["foo","bar"]) (irb):3: [BUG] Segmentation fault MacRuby version 0.4 (ruby 1.9.0 2008-06-03) [universal-d