[Bug #3123] uninitialized constant Object::C (NameError)

Bug #3123: uninitialized constant Object::C (NameError)
http://redmine.ruby-lang.org/issues/show/3123

e$B5/I<<Te(B: Kazuhiro NISHIYAMA
e$B%9%F!<%?%9e(B: Open, e$BM%@hEYe(B: Normal
e$B%+%F%4%je(B: core, Target version: 1.9.2
ruby -v: ruby 1.9.2dev (2010-04-10 trunk 27284) [x86_64-linux]

e$B$$$D$N4V$K$+%H%C%W%l%Y%k$G$Ne(B uninitialized constant e$B$Ge(B
Object:: e$B$,IU$/$h$&$K$J$C$F$7$^$C$F$$$^$9!#e(B

% ruby-trunk -ve C
ruby 1.9.2dev (2010-04-10 trunk 27284) [x86_64-linux]
-e:1:in `': uninitialized constant Object::C (NameError)
%

e$B$I$3$+$i$J$N$+e(B git bisect e$B$GD4$Y$F$_$?$H$3$me(B r25984
e$B$+$i$N$h$&$G$9!#e(B

e$B%A%1%C%He(B #3123 e$B$,99?7$5$l$^$7$?!#e(B (by Yusuke E.)

Target version 1.9.2e$B$+$ie(B1.9.xe$B$KJQ99e(B

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

e$B$$$D$N4V$K$+%H%C%W%l%Y%k$G$Ne(B uninitialized constant e$B$Ge(B Object:: e$B$,IU$/$h$&$K$J$C$F$7$^$C$F$$$^$9!#e(B

e$B3N$+$K%P%0$@$H;W$$$^$9$,L@$i$+$K=EBg$G$J$$$3$H$H!"D>$=$&$H$9$k$He(B
e$B0U30$HLLE]$C$]$/!"e(Brevert
e$B$9$k$N$O$=$C$A$NJ}$,BgJQ99$K$J$k$N$G!“e(B
1.9.2 e$B$G$Oe(B WONTFIX e$B$H$7$^$9!#e(B
1.9.3 e$B0J9_$G85$N5sF0$KLa$k$3$H$O$”$j$($^$9!#e(B


Yusuke E. [email protected]

http://redmine.ruby-lang.org/issues/show/3123

e$B%A%1%C%He(B #3123 e$B$,99?7$5$l$^$7$?!#e(B (by Yukihiro M.)

e$B%9%F!<%?%9e(B Opene$B$+$ie(BClosede$B$KJQ99e(B
e$B?JD=e(B % 0e$B$+$ie(B100e$B$KJQ99e(B

This issue was solved with changeset r28293.
Kazuhiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


http://redmine.ruby-lang.org/issues/show/3123

e$B:XF#$H?=$7$^$9!#e(B

On Fri, 11 Jun 2010 23:47:23 +0900
Yusuke E. [email protected] wrote:

e$B$$$D$N4V$K$+%H%C%W%l%Y%k$G$Ne(B uninitialized constant e$B$Ge(B Object:: e$B$,IU$/$h$&$K$J$C$F$7$^$C$F$$$^$9!#e(B

e$B3N$+$K%P%0$@$H;W$$$^$9$,L@$i$+$K=EBg$G$J$$$3$H$H!"D>$=$&$H$9$k$He(B
e$B0U30$HLLE]$C$]$/!"e(Brevert e$B$9$k$N$O$=$C$A$NJ}$,BgJQ99$K$J$k$N$G!"e(B
1.9.2 e$B$G$Oe(B WONTFIX e$B$H$7$^$9!#e(B

e$B$^$D$b$H$5$s$Ne(Br28293e$B$Ge(Btrunke$B$G$OD>$C$?$h$&$J$N$G!“e(BWONTFIXe$B$K$;$:!”$3$l$re(B
1.9.2e$B$K$b<h$j9~$s$GM_$7$$$G$9!#<j85$G$Oe(B1.9.2e$B$G$bD>$k$N$r3NG’$7$^$7$?!#e(B

e$B$$$Ae(BRubye$B%f!<%6!<$+$i8@$o$;$F$$$?$@$/$H!“!VL@$i$+$K=EBg$G$”$k!W$H;W$$$^$9!#e(B
e$B$9$/$J$/$H$bKM$NM’?M$N$h$&$J!"e(BRubye$B=i3X<T$OB?$$$K8MOG$C$F!"K$r2?EY$bFI$_D>$7$F!"e(B
e$B<+?H$r$J$/$9Mn$H$77j$K$J$k$H;W$$$^$9!#?7$?$Je(BFAQe$B$K$J$j$+$M$J$$$G$7$g$&!#e(B

e$B$^$?$^$D$b$H$5$s$N=$@5$O%7%s%W%k$J$b$N$J$N$G!"!VBgJQ99!W$K$b$J$i$J$$$H;W$$$^$9!#e(B

whiteleaf e$B$H?=$7$^$9!#e(B

e$B$`$7$me(B Object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