Actions
Bug #2094
closedprime.rb has warning.
Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 1.9.2dev (2009-07-18 trunk 24186) [x86_64-linux]
Backport:
Description
=begin
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.
=end
Updated by nobu (Nobuyoshi Nakada) almost 16 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
=begin
Applied in changeset r24884.
=end
Actions
Like0
Like0