1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* object.c (rb_obj_id_obsolete): s/will be deprecated/is deprecated/.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
knu 2008-12-17 09:41:44 +00:00
parent dc18559c7f
commit af2bf6f133
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Wed Dec 17 18:40:11 2008 Akinori MUSHA <knu@iDaemons.org>
* object.c (rb_obj_id_obsolete): s/will be deprecated/is deprecated/.
Wed Dec 17 18:38:09 2008 Akinori MUSHA <knu@iDaemons.org> Wed Dec 17 18:38:09 2008 Akinori MUSHA <knu@iDaemons.org>
* object.c (sym_to_i, sym_to_int): Add a deprecation warning to * object.c (sym_to_i, sym_to_int): Add a deprecation warning to

View file

@ -109,7 +109,7 @@ VALUE
rb_obj_id_obsolete(obj) rb_obj_id_obsolete(obj)
VALUE obj; VALUE obj;
{ {
rb_warn("Object#id will be deprecated; use Object#object_id"); rb_warn("Object#id is deprecated; use Object#object_id");
return rb_obj_id(obj); return rb_obj_id(obj);
} }