[ruby-cvs:64406] nobu:r57240 (trunk): vm.c: fix return in lambda

nobu at ruby-lang.org nobu at ruby-lang.org
Sat Dec 31 17:07:58 JST 2016


nobu	2016-12-31 17:07:58 +0900 (Sat, 31 Dec 2016)

  New Revision: 57240

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

  Log:
    vm.c: fix return in lambda
    
    * vm.c (invoke_block_from_c_splattable): pass lambda-ness.
    
    * vm_eval.c (yield_under): invoke lambda proc properly.
      [ruby-core:78917] [Bug #13090]

  Modified files:
    trunk/test/ruby/test_lambda.rb
    trunk/vm.c
    trunk/vm_eval.c


More information about the ruby-cvs mailing list