diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-21 09:40:58 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-21 09:40:58 +0000 |
commit | eaf5192f4a367a90483a4c25b1b6bf7d8338363e (patch) | |
tree | 293aa767120f08607fe842751da29aa0611b35ad /variable.c | |
parent | 3336ed9587b81d512bf041246a1ec172b5439741 (diff) | |
download | ruby-eaf5192f4a367a90483a4c25b1b6bf7d8338363e.tar.gz |
* gc.c (internal_object_p): should not expose singleton classes
without a metaclass.
[Bug #11740]
* class.c (rb_singleton_class_has_metaclass_p): added.
* test/ruby/test_class.rb: add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'variable.c')
0 files changed, 0 insertions, 0 deletions