diff options
author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-01-28 17:57:48 +0000 |
---|---|---|
committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-01-28 17:57:48 +0000 |
commit | b511e1bfbe649b938e317e00ad1795f1b9623758 (patch) | |
tree | 708e4697a565a72dcc1f2a9805ba2d99bcd79e23 /ChangeLog | |
parent | b1e829fb30be8a1a5c842a981ed9eacf9c77b1a3 (diff) | |
download | ruby-b511e1bfbe649b938e317e00ad1795f1b9623758.tar.gz |
* variable.c (rb_mod_const_of, sv_i): Module#constant should exclude
private constants. see [ruby-core:32912].
* test/ruby/test_module.rb (test_constants_with_private_constant): add
a test for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,11 @@ +Sat Jan 29 02:02:37 2011 Yusuke Endoh <mame@tsg.ne.jp> + + * variable.c (rb_mod_const_of, sv_i): Module#constant should exclude + private constants. see [ruby-core:32912]. + + * test/ruby/test_module.rb (test_constants_with_private_constant): add + a test for above. + Sat Jan 29 01:36:41 2011 Yusuke Endoh <mame@tsg.ne.jp> * variable.c (rb_const_set): const_set shoud preserve constant |