diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-12-28 11:58:21 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-12-28 18:35:03 +0900 |
commit | 40e7aefebad412bde50fa9bdadcc8405f7605355 (patch) | |
tree | 33a440e64dfe2d20e01bb30da6a89e8ab1f0318c /numeric.c | |
parent | b948b1a4e1f8a4a697bbc76873d728afcdc1694a (diff) |
Remove obsolete Fixnum and Bignum
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3927
Diffstat (limited to 'numeric.c')
-rw-r--r-- | numeric.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -6290,10 +6290,6 @@ Init_Numeric(void) rb_gc_register_mark_object(rb_fix_to_s_static[i]); } - /* An obsolete class, use Integer */ - rb_define_const(rb_cObject, "Fixnum", rb_cInteger); - rb_deprecate_constant(rb_cObject, "Fixnum"); - rb_cFloat = rb_define_class("Float", rb_cNumeric); rb_undef_alloc_func(rb_cFloat); |