[ruby-cvs:55343] nobu:r48193 (trunk): vm_insnhelper.c: allow to_ary

nobu at ruby-lang.org nobu at ruby-lang.org
Thu Oct 30 11:16:16 JST 2014


nobu	2014-10-30 11:16:15 +0900 (Thu, 30 Oct 2014)

  New Revision: 48193

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

  Log:
    vm_insnhelper.c: allow to_ary
    
    * vm_insnhelper.c (vm_callee_setup_arg{_complex,}): try conversion
      by to_ary for a lambda, as well as a proc.
      [ruby-core:65887] [Bug #9605]

  Modified files:
    trunk/ChangeLog
    trunk/test/ruby/test_lambda.rb
    trunk/vm_insnhelper.c


More information about the ruby-cvs mailing list