Project

General

Profile

« Previous | Next » 

Revision 37348

  • bignum.c (bignew_1): Bignum instances are frozen. Feature #3222
  • include/ruby/ruby.h: Fixnum instances are also frozen.
  • class.c (singleton_class_of): check Bignum before singleton cheking.
  • test/ruby/test_bignum.rb: add a test.
  • test/ruby/test_fixnum.rb: ditto.
  • test/ruby/marshaltestlib.rb, test/ruby/test_eval.rb, test/ruby/test_object.rb: catch up above changes.