[ruby-cvs:52749] nobu:r45603 (trunk): enum.c: fix condition to recycle block argument

nobu at ruby-lang.org nobu at ruby-lang.org
Wed Apr 16 23:47:39 JST 2014


nobu	2014-04-16 23:47:38 +0900 (Wed, 16 Apr 2014)

  New Revision: 45603

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=45603

  Log:
    enum.c: fix condition to recycle block argument
    
    * enum.c (dont_recycle_block_arg): fix condition to recycle block
      argument.  lambda with rest can get internal array directly.
      [ruby-core:62060] [Bug #9749]

  Modified files:
    trunk/ChangeLog
    trunk/enum.c
    trunk/test/ruby/test_enum.rb


More information about the ruby-cvs mailing list