[ruby-cvs:67849] nobu:r60668 (trunk): enum.c: check argument first

nobu at ruby-lang.org nobu at ruby-lang.org
Mon Nov 6 08:32:50 JST 2017


nobu	2017-11-06 08:32:50 +0900 (Mon, 06 Nov 2017)

  New Revision: 60668

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

  Log:
    enum.c: check argument first
    
    * enum.c (enum_cycle_size): check an argument before the size of
      the receiver, if it is given.

  Modified files:
    trunk/enum.c
    trunk/test/ruby/test_enumerator.rb
    trunk/test/ruby/test_lazy_enumerator.rb


More information about the ruby-cvs mailing list