diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-01-23 01:53:20 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-01-23 01:53:20 +0000 |
| commit | 9b3c15dfd7520ff8bce3fc768dbe2aba2fecbd27 (patch) | |
| tree | 057c505e8a9d1253766860250322daea97469c33 /class.c | |
| parent | b81b47358438b376fd5b9b14c10c5b0412d302fe (diff) | |
| download | ruby-9b3c15dfd7520ff8bce3fc768dbe2aba2fecbd27.tar.gz | |
* class.c (rb_mod_ancestors): result list may include singleton
classes. [ruby-core:09604]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@11557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'class.c')
| -rw-r--r-- | class.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -473,8 +473,6 @@ rb_mod_ancestors(VALUE mod) VALUE p, ary = rb_ary_new(); for (p = mod; p; p = RCLASS(p)->super) { - if (FL_TEST(p, FL_SINGLETON)) - continue; if (BUILTIN_TYPE(p) == T_ICLASS) { rb_ary_push(ary, RBASIC(p)->klass); } |
