--mimepart_484c1be1f0d13_62427c349fa104 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: Quoted-printable Content-Disposition: inline Issue #117 has been reported by Arthur Schreiber. ---------------------------------------- Bug #117: SortedSet#flatten_merge and SortedSet#flatten can't actually flatten nested SortedSets http://redmine.ruby-lang.org/issues/show/117 Author: Arthur Schreiber Status: Open Priority: Normal Assigned to: Akinori MUSHA Category: arget version: et1 = SortedSet[1, 2] set2 = SortedSet[3, 4, SortedSet[5, 6]] set1.send(:flatten_merge, set2) # => raises a NoMethodError: undefined method `<=>' for #<SortedSet: {5, 6}> SortedSet[1, 2, SortedSet[3, 4, SortedSet[5, 6, SortedSet[7, 8]]], 9, 10].flatten # => raises a NoMethodError: undefined method `<=>' for #<SortedSet:0x5f2be8> SortedSet[1, 2, SortedSet[3, 4]].flatten # => raises an ArgumentError: comparison of Fixnum with SortedSet failed ---------------------------------------- You have received this notification because you have either subscribed tot, or are involved in it. To change your notification preferences, please click here: http://redmine.ruby-lang.org/my/account --mimepart_484c1be1f0d13_62427c349fa104--