[macruby-changes] [MacRuby/MacRuby] d1e476: fix a bug in Array() where it will return incorrec...
GitHub
noreply at github.com
Fri Jul 5 06:52:44 PDT 2013
Branch: refs/heads/master
Home: https://github.com/MacRuby/MacRuby
Commit: d1e47668d4345c78871f49b06849f3c7e4355943
https://github.com/MacRuby/MacRuby/commit/d1e47668d4345c78871f49b06849f3c7e4355943
Author: Watson <watson1978 at gmail.com>
Date: 2013-07-05 (Fri, 05 Jul 2013)
Changed paths:
M array.c
Log Message:
-----------
fix a bug in Array() where it will return incorrected value if passed NSArray as argument
ary = [1, 2, 3] * 20
nsary = NSArray.arrayWithArray(ary)
p nsary.size #=> 60
p Array(nsary).size #=> Expected 60, but incorrected value returns
More information about the macruby-changes
mailing list