Project

General

Profile

« Previous | Next » 

Revision 41360

  • include/ruby/ruby.h, vm_eval.c (rb_funcall_with_block):
    new function to invoke a method with a block passed
    as an argument.

  • string.c (sym_call): use the above function to avoid
    a block sharing. [ruby-dev:47438] [Bug #8531]

  • vm_insnhelper.c (vm_yield_with_cfunc): don't set block
    in the frame.

  • test/ruby/test_symbol.rb (TestSymbol#test_block_given_to_proc):
    run related tests.