[Bug #1429] An arbitrary number of arguments of SortedSet#initialize


#1

Bug #1429: An arbitrary number of arguments of SortedSet#initialize
http://redmine.ruby-lang.org/issues/show/1429

e$B5/I<<Te(B: ujihisa .
e$B%9%F!<%?%9e(B: Open, e$BM%@hEYe(B: Normal
ruby -v: ruby 1.9.2dev (2009-05-02 trunk 23325) [i386-darwin9.6.0]

lib/set.rbe$B$N%3%a%s%H$K5-$5$l$F$$$k%I%-%e%a%s%H$G$Oe(BSortedSet.newe$B$G2DJQD90z?t$r<u$1<h$k$h$&5-=R$5$l$F$$$k$b$N$N!"<B:]$K$OG[Ns$7$+<u$1<h$l$J$$$h$&$K$J$C$F$$$^$7$?!#e(B

ruby 1.8.7 (2008-08-11 patchlevel 72) [i686-darwin9]
SortedSet.new(1, 2, 3) #=> wrong number of arguments (3 for 1)
(ArgumentError)

ruby 1.9.2dev (2009-05-02 trunk 23325) [i386-darwin9.6.0]
SortedSet.new(1, 2, 3) #=> wrong number of arguments (3 for 1)
(ArgumentError)

e$BE:IU$N%Q%C%A$G$3$NLdBj$O2r7h$7$^$9!#$,!";d$N0U8+$H$7$F$Oe(BSete$B$K9g$o$;$Fe(BSortedSet.newe$B$K$OG[Ns$rEO$9$h$&$K$7$?J}$,%7%s%W%k$K$J$k$H;W$&$N$G$9$,!"$I$&$G$7$g$&$+!#e(B


#2

e$B%A%1%C%He(B #1429 e$B$,99?7$5$l$^$7$?!#e(B (by ujihisa .)

e$B%U%!%$%ke(B set_comment.patch e$BDI2Ce(B

lib/set.rbe$B$r$h$/8+$k$H!"%F%9%He(BTC_SortedSete$B$NItJ,$G$O2DJQD90z?t$O9MN8$5$l$F$$$^$;$s$G$7$?!#<BAu$G$O$J$/!"%3%a%s%H$K=q$+$l$?%I%-%e%a%s%H$,8m$C$F$$$k$h$&$K8+$($^$9!#e(B

e$B%3%a%s%H$X$N%Q%C%A$rE:IU$7$^$9!#@h$[$I$N%Q%C%A$G$O$J$/!"$3$A$i$N%Q%C%A$@$1$rEv$F$k$N$,NI$$$H;W$$$^$9!#e(B

http://redmine.ruby-lang.org/issues/show/1429