From: Arthur Schreiber Date: 2008-06-10T17:43:26+09:00 Subject: [ruby-core:17181] [Ruby 1.8 - Bug #118] SortedSet#inspect does not work with nested SortedSets --mimepart_484e3ebaa50f_624e89438a8183 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: Quoted-printable Content-Disposition: inline Issue #118 has been updated by Arthur Schreiber. File set.patch added Here is a patch that makes SortedSet#add check that any object added to a= SortedSet includes the Comparable module. It also extends the SortedSet documentation to make it more clear how Sor= tedSet works. ---------------------------------------- Bug #118: SortedSet#inspect does not work with nested SortedSets http://redmine.ruby-lang.org/issues/show/118 Author: Arthur Schreiber Status: Open Priority: Normal Assigned to: Akinori MUSHA Category: = Target version: = SortedSet["a", "b", SortedSet["c"]].inspect # =3D> raises an ArgumentErro= r: comparison of String with SortedSet failed ---------------------------------------- You have received this notification because you have either subscribed to= it, or are involved in it. To change your notification preferences, please click here: http://redmin= e.ruby-lang.org/my/account --mimepart_484e3ebaa50f_624e89438a8183--