mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* eval.c (rb_mod_modfunc): method undefined in included module
may not have nd_body. [ruby-core:18738] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@19690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a154eb5533
commit
37a720e038
3 changed files with 9 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
|||
Sun Oct 5 23:05:53 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* eval.c (rb_mod_modfunc): method undefined in included module
|
||||
may not have nd_body. [ruby-core:18738]
|
||||
|
||||
Wed Oct 1 19:11:48 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* marshal.c (marshal_dump): fixed for check_dump_arg.
|
||||
|
|
2
eval.c
2
eval.c
|
@ -7697,7 +7697,7 @@ rb_mod_modfunc(argc, argv, module)
|
|||
body = search_method(rb_cObject, id, &m);
|
||||
}
|
||||
if (body == 0 || body->nd_body == 0) {
|
||||
rb_bug("undefined method `%s'; can't happen", rb_id2name(id));
|
||||
print_undef(module, id);
|
||||
}
|
||||
if (nd_type(body->nd_body) != NODE_ZSUPER) {
|
||||
break; /* normal case: need not to follow 'super' link */
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#define RUBY_VERSION "1.8.7"
|
||||
#define RUBY_RELEASE_DATE "2008-10-01"
|
||||
#define RUBY_RELEASE_DATE "2008-10-05"
|
||||
#define RUBY_VERSION_CODE 187
|
||||
#define RUBY_RELEASE_CODE 20081001
|
||||
#define RUBY_RELEASE_CODE 20081005
|
||||
#define RUBY_PATCHLEVEL 5000
|
||||
|
||||
#define RUBY_VERSION_MAJOR 1
|
||||
|
@ -9,7 +9,7 @@
|
|||
#define RUBY_VERSION_TEENY 7
|
||||
#define RUBY_RELEASE_YEAR 2008
|
||||
#define RUBY_RELEASE_MONTH 10
|
||||
#define RUBY_RELEASE_DAY 1
|
||||
#define RUBY_RELEASE_DAY 5
|
||||
|
||||
#ifdef RUBY_EXTERN
|
||||
RUBY_EXTERN const char ruby_version[];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue