[ruby-core:77240] [Ruby trunk Feature#12739] deprecate_constant :Fixnum, :Bignum

From: nobu@...
Date: 2016-09-10 04:33:09 UTC
List: ruby-core #77240
Issue #12739 has been updated by Nobuyoshi Nakada.


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.

[this]: https://github.com/ruby/ruby/compare/trunk...nobu:feature/12739-deprecate-fixnum-bignum
[PR]: https://github.com/ruby/rake/pull/160


----------------------------------------
Feature #12739: deprecate_constant :Fixnum, :Bignum
https://bugs.ruby-lang.org/issues/12739#change-60464

* Author: Kazuhiro NISHIYAMA
* Status: Open
* Priority: Normal
* Assignee: 
----------------------------------------
How about `class Object; deprecate_constant :Fixnum, :Bignum; end`?

* naruse supports: https://twitter.com/nalsh/status/773800491671101441
* akr objects: https://twitter.com/tanaka_akr/status/773817391218249729

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



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:[email protected]?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next