[MacRuby/MacRuby] d1e476: fix a bug in Array() where it will return incorrec...
5 Jul
2013
5 Jul
'13
1:52 p.m.
Branch: refs/heads/master Home: https://github.com/MacRuby/MacRuby Commit: d1e47668d4345c78871f49b06849f3c7e4355943 https://github.com/MacRuby/MacRuby/commit/d1e47668d4345c78871f49b06849f3c7e4... Author: Watson <watson1978@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
4509
Age (days ago)
4509
Last active (days ago)
0 comments
1 participants
participants (1)
-
GitHub