* [ruby-core:25539] [Bug #2094] prime.rb has warning.
@ 2009-09-12 18:22 David Brown
2009-09-13 0:47 ` [ruby-core:25542] [Bug #2094](Closed) " Nobuyoshi Nakada
0 siblings, 1 reply; 2+ messages in thread
From: David Brown @ 2009-09-12 18:22 UTC (permalink / raw
To: ruby-core
Bug #2094: prime.rb has warning.
http://redmine.ruby-lang.org/issues/show/2094
Author: David Brown
Status: Open, Priority: Normal
Category: lib
ruby -v: ruby 1.9.2dev (2009-07-18 trunk 24186) [x86_64-linux]
The following program:
$VERBOSE = true
require 'prime'
42.prime?
prints a warning:
/var/tmp/ruby-1.9.2-preview1/lib/ruby/1.9.1/prime.rb:261: warning: instance variable @ubound not initialized
I've tried with 1.9.1 released and with this preview release. The
warning is printed repeatedly for each primality check.
----------------------------------------
http://redmine.ruby-lang.org
^ permalink raw reply [flat|nested] 2+ messages in thread
* [ruby-core:25542] [Bug #2094](Closed) prime.rb has warning.
2009-09-12 18:22 [ruby-core:25539] [Bug #2094] prime.rb has warning David Brown
@ 2009-09-13 0:47 ` Nobuyoshi Nakada
0 siblings, 0 replies; 2+ messages in thread
From: Nobuyoshi Nakada @ 2009-09-13 0:47 UTC (permalink / raw
To: ruby-core
Issue #2094 has been updated by Nobuyoshi Nakada.
Status changed from Open to Closed
% Done changed from 0 to 100
Applied in changeset r24884.
----------------------------------------
http://redmine.ruby-lang.org/issues/show/2094
----------------------------------------
http://redmine.ruby-lang.org
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-09-13 0:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-12 18:22 [ruby-core:25539] [Bug #2094] prime.rb has warning David Brown
2009-09-13 0:47 ` [ruby-core:25542] [Bug #2094](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).