* [ruby-core:23374] [Bug #1439] Array#sample returns wrong results for negative argument
@ 2009-05-07 3:27 Marc-Andre Lafortune
2009-05-07 5:27 ` [ruby-core:23379] [Bug #1439](Closed) " Nobuyoshi Nakada
0 siblings, 1 reply; 2+ messages in thread
From: Marc-Andre Lafortune @ 2009-05-07 3:27 UTC (permalink / raw
To: ruby-core
Bug #1439: Array#sample returns wrong results for negative argument
http://redmine.ruby-lang.org/issues/show/1439
Author: Marc-Andre Lafortune
Status: Open, Priority: Normal
Category: core, Target version: 1.9.2
ruby -v: ruby 1.9.2dev (2009-05-06 trunk 23352) [i386-darwin9.6.0]
$ ruby1.9 -v -e "p [1,2].sample(-1)"
ruby 1.9.2dev (2009-05-06 trunk 23352) [i386-darwin9.6.0]
[1, 2, false]
----------------------------------------
http://redmine.ruby-lang.org
^ permalink raw reply [flat|nested] 2+ messages in thread
* [ruby-core:23379] [Bug #1439](Closed) Array#sample returns wrong results for negative argument
2009-05-07 3:27 [ruby-core:23374] [Bug #1439] Array#sample returns wrong results for negative argument Marc-Andre Lafortune
@ 2009-05-07 5:27 ` Nobuyoshi Nakada
0 siblings, 0 replies; 2+ messages in thread
From: Nobuyoshi Nakada @ 2009-05-07 5:27 UTC (permalink / raw
To: ruby-core
Issue #1439 has been updated by Nobuyoshi Nakada.
Status changed from Open to Closed
% Done changed from 0 to 100
Applied in changeset r23359.
----------------------------------------
http://redmine.ruby-lang.org/issues/show/1439
----------------------------------------
http://redmine.ruby-lang.org
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-05-07 5:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-07 3:27 [ruby-core:23374] [Bug #1439] Array#sample returns wrong results for negative argument Marc-Andre Lafortune
2009-05-07 5:27 ` [ruby-core:23379] [Bug #1439](Closed) " Nobuyoshi Nakada
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).