Re: [MacRuby-devel] NSArray constructor broken?
To be clear, by version I meant: are you using 0.7 release or did you compile it yourself from a different revision? On Oct 14, 2010, at 3:33 PM, Eloy Duran wrote:
Hi,
It seems to work for me:
% macruby -e 'p MACRUBY_VERSION, MACRUBY_REVISION' "0.7" "svn revision 4566 from http://svn.macosforge.org/repository/ruby/MacRuby/branches/0.7"
% macruby -e 'p NSArray.array' []
% macruby -e 'p NSArray.new' []
Which version are you using?
Eloy
On Oct 14, 2010, at 3:15 PM, Louis-Philippe wrote:
Hi all,
on my system, with MacRuby 0.7, I get this error:
NSArray.array ArgumentError: wrong number of arguments
every NSArray constructor method seems to exibit some kind of similar behaviour. I searched the tickets and couldn't find it there.
L-P _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
0.7 release 2010/10/14 Eloy Duran <eloy.de.enige@gmail.com>
To be clear, by version I meant: are you using 0.7 release or did you compile it yourself from a different revision?
On Oct 14, 2010, at 3:33 PM, Eloy Duran wrote:
Hi,
It seems to work for me:
% macruby -e 'p MACRUBY_VERSION, MACRUBY_REVISION' "0.7" "svn revision 4566 from http://svn.macosforge.org/repository/ruby/MacRuby/branches/0.7"
% macruby -e 'p NSArray.array' []
% macruby -e 'p NSArray.new' []
Which version are you using?
Eloy
On Oct 14, 2010, at 3:15 PM, Louis-Philippe wrote:
Hi all,
on my system, with MacRuby 0.7, I get this error:
NSArray.array ArgumentError: wrong number of arguments
every NSArray constructor method seems to exibit some kind of similar behaviour. I searched the tickets and couldn't find it there.
L-P _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
It seems to work for me:
% macruby -e 'p MACRUBY_VERSION, MACRUBY_REVISION' "0.7" "svn revision 4566 from
http://svn.macosforge.org/repository/ruby/MacRuby/branches/0.7"
Same Here
% macruby -e 'p NSArray.array'
[]
This also work for me here... so the behaviour is only in macirb.
% macruby -e 'p NSArray.new'
[]
Thanks for the reduction. Could you create a ticket and assign to me? Eloy On Oct 14, 2010, at 4:11 PM, Louis-Philippe wrote:
It seems to work for me:
% macruby -e 'p MACRUBY_VERSION, MACRUBY_REVISION' "0.7" "svn revision 4566 from http://svn.macosforge.org/repository/ruby/MacRuby/branches/0.7"
Same Here
% macruby -e 'p NSArray.array' []
This also work for me here... so the behaviour is only in macirb.
% macruby -e 'p NSArray.new' []
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
participants (2)
-
Eloy Duran
-
Louis-Philippe