ruby-changes:4638
From: ko1@a...
Date: Tue, 22 Apr 2008 12:04:13 +0900 (JST)
Subject: [ruby-changes:4638] nobu - Ruby:r16132 (trunk): * vm_insnhelper.c (vm_get_ev_const): search from the base klass if it
nobu 2008-04-22 12:03:51 +0900 (Tue, 22 Apr 2008)
New Revision: 16132
Modified files:
trunk/ChangeLog
trunk/vm_insnhelper.c
Log:
* vm_insnhelper.c (vm_get_ev_const): search from the base klass if it
is given.
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=16132&r2=16131&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/vm_insnhelper.c?r1=16132&r2=16131&diff_format=u
Index: ChangeLog
===================================================================
--- ChangeLog (revision 16131)
+++ ChangeLog (revision 16132)
@@ -1,3 +1,8 @@
+Tue Apr 22 12:03:50 2008 Nobuyoshi Nakada <nobu@r...>
+
+ * vm_insnhelper.c (vm_get_ev_const): search from the base klass if it
+ is given.
+
Tue Apr 22 09:58:13 2008 NAKAMURA Usaku <usa@r...>
* ext/win32ole/win32ole.c: avoid warnings.
Index: vm_insnhelper.c
===================================================================
--- vm_insnhelper.c (revision 16131)
+++ vm_insnhelper.c (revision 16132)
@@ -1045,10 +1045,10 @@
else {
vm_check_if_namespace(klass);
if (is_defined) {
- return rb_const_defined(klass, id);
+ return rb_const_defined_from(klass, id);
}
else {
- return rb_const_get(klass, id);
+ return rb_const_get_from(klass, id);
}
}
}
--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/