Project

General

Profile

« Previous | Next » 

Revision 24b1b339

Added by jeremyevans (Jeremy Evans) almost 6 years ago

Correctly handle keywords for Method#call for cfuncs, send, and attr_*

This sets the correct VM frame flags when using Method#call to
call funcs, and handles empty keyword hashes for cfuncs,
attr_reader, and attr_writer. It also fixes calls to send through
Method#call. It adds tests for all of those, as well as tests for
using Method#call to call define_method, lambda, and sym_procs
(which didn't require code changes).