[ruby-cvs:61957] akr:r54795 (trunk): {Fixnum, Bignum}#[] is unified into Integer.

akr at ruby-lang.org akr at ruby-lang.org
Wed Apr 27 20:56:04 JST 2016


akr	2016-04-27 20:56:03 +0900 (Wed, 27 Apr 2016)

  New Revision: 54795

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=54795

  Log:
    {Fixnum,Bignum}#[] is unified into Integer.
    
    * numeric.c (int_aref): {Fixnum,Bignum}#[] is unified into
      Integer.
    
    * bignum.c (rb_big_aref): Don't define Bignum#<<.
    
    * internal.h (rb_big_aref): Declared.

  Modified files:
    trunk/ChangeLog
    trunk/bignum.c
    trunk/internal.h
    trunk/numeric.c


More information about the ruby-cvs mailing list