[ruby-cvs:67395] nobu:r60214 (trunk): freeze Complex and Rational

nobu at ruby-lang.org nobu at ruby-lang.org
Thu Oct 19 19:58:08 JST 2017


nobu	2017-10-19 19:58:08 +0900 (Thu, 19 Oct 2017)

  New Revision: 60214

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

  Log:
    freeze Complex and Rational
    
    * complex.c (nucomp_s_new_internal, nucomp_loader): Complex
      instances are always frozen now.  [Feature #13983]
    
    * rational.c (nurat_s_new_internal, nurat_loader): Rational
      instances are always frozen now.  [Feature #13983]

  Modified files:
    trunk/complex.c
    trunk/rational.c
    trunk/test/ruby/test_complex.rb
    trunk/test/ruby/test_rational.rb


More information about the ruby-cvs mailing list