[Bug #3007] subtle inconsistency of Class#to_s

Bug #3007: subtle inconsistency of Class#to_s
http://redmine.ruby-lang.org/issues/show/3007

e$B5/I<<Te(B: Yusuke E.
e$B%9%F!<%?%9e(B: Open, e$BM%@hEYe(B: Low
e$BC4Ev<Te(B: Yukihiro M., e$B%+%F%4%je(B: core, Target version:
1.9.2
ruby -v: ruby 1.9.2dev (2010-03-24 trunk 27031) [i686-linux]

e$B1sF#$G$9!#e(B

e$BFC0[%/%i%9$NJ8L.$GDj5A$5$l$?%/%i%9$Ne(B to_s
e$B$N7k2L$,!"e(BClass.new e$B$Ge(B
e$B:n$i$l$?$+$I$&$+$K$h$C$FJQ$o$j$^$9!#e(B

o = Object.new
class << o
class C; end
D = Class.new
p [C, D] #=> [#Class:0x825657c::C, #Class:0x82564f0]
end

e$B<B32$O:#$N$H$3$mJs9p$5$l$F$$$J$$$H;W$$$^$9!#e(B

[ruby-dev:36672] [Bug #616] [email protected]%A%1%C%H$G$9!#e(B

e$B$3$NLdBj$Oe(B [ruby-dev:37640] [ruby-dev:39531]

[email protected]@$5$l$F$$$^$9!#e(B

e$B$^$D$b$H$5$s$N5$;}$A$OJ|CVe(B (= WONTFIX?)
e$B$K79$$$F$$$k$=$&$J$N$G!"e(B
e$B?tF|4VH?1~$,$J$1$l$Pe(B rejected e$B$K$7$?$$$H;W$$$^$9!#e(B


Yusuke ENDOH [email protected]

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs