[ruby-cvs:69254] nobu:r62073 (trunk): compile.c: try to convert in massign `for`

nobu at ruby-lang.org nobu at ruby-lang.org
Sat Jan 27 19:41:43 JST 2018


nobu	2018-01-27 19:41:43 +0900 (Sat, 27 Jan 2018)

  New Revision: 62073

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

  Log:
    compile.c: try to convert in massign `for`
    
    * compile.c (compile_for_masgn): try to convert to an Array if an
      element of massign `for` is not an Array.
      [ruby-core:84931] [Bug #14374]

  Modified files:
    trunk/compile.c
    trunk/test/ruby/test_iterator.rb


More information about the ruby-cvs mailing list