Project

General

Profile

Feature #12739

deprecate_constant :Fixnum, :Bignum

Added by Kazuhiro NISHIYAMA 5 months ago. Updated 4 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
[ruby-core:77219]

Description

How about class Object; deprecate_constant :Fixnum, :Bignum; end?

I don't mind either way.
Do you have any comment about it?


Related issues

Related to Ruby trunk - Feature #12005: Unify Fixnum and Bignum into Integer Closed

Associated revisions

Revision 56187
Added by Nobuyoshi Nakada 4 months ago

deprecate Fixnum and Bignum

  • numeric.c (Init_Numeric), bignum.c (Init_Bignum): deprecate Fixnum and Bignum. this may be reverted after previews. [Feature #12739]

History

#1 Updated by Kazuhiro NISHIYAMA 5 months ago

  • Related to Feature #12005: Unify Fixnum and Bignum into Integer added

#2 [ruby-core:77240] Updated by Nobuyoshi Nakada 4 months ago

I tried this, found rake defines Fixnum::MAX which seems useless, and submitted a PR to rake.
But it fails on ruby 2.2 or earlier, due to incompatibility of Bundler 1.13.0.

#3 Updated by Nobuyoshi Nakada 4 months ago

  • Status changed from Open to Closed

Applied in changeset r56187.


deprecate Fixnum and Bignum

  • numeric.c (Init_Numeric), bignum.c (Init_Bignum): deprecate Fixnum and Bignum. this may be reverted after previews. [Feature #12739]

Also available in: Atom PDF