diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-07-30 04:20:00 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-07-30 04:20:00 +0000 |
commit | 83cd51e3fe6e1e2be1375602274caa6ae0ac2a86 (patch) | |
tree | e2d59d7870dbc9b8e83c5af528bbaa709df41cc4 /NEWS | |
parent | c3f6e4ea078af93e79d578bf312a9a26af82f09b (diff) |
variable.c: Module#deprecate_constant
* variable.c (rb_const_get_0): warn deprecated constant reference.
* variable.c (rb_mod_deprecate_constant): mark constants to be
warned as deprecated. [Feature #11398]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -44,6 +44,9 @@ with all sufficient information, see the ChangeLog file. this parameter is bitwise-ORed to oflags generated by normal mode argument. [Feature #11253] +* Module + * Module#deprecate_constant [Feature #11398] + * NameError * NameError#receiver is added to take the receiver object. [Feature #10881] |