Project

General

Profile

Actions

Bug #115

closed

SortedSet#delete_if does not yield in sorted order

Added by NoKarma (Arthur Schreiber) over 16 years ago. Updated over 13 years ago.

Status:
Closed
Target version:
-
ruby -v:
[ruby-core:17144]

Description

=begin
ret = []
SortedSet["one", "two", "three"].delete_if { |x| ret << x }
ret == ["one", "two", "three"].sort # => false
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0