diff options
author | nagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-05-05 06:32:37 +0000 |
---|---|---|
committer | nagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-05-05 06:32:37 +0000 |
commit | 5358a5c016de6162433baf80c127be27ce2ca11c (patch) | |
tree | bbc94913a101e94cdc510e74d310921d1af653b9 /gc.c | |
parent | 09c2f41211709047eff6f8829ff7afc827ef288c (diff) | |
download | ruby-5358a5c016de6162433baf80c127be27ce2ca11c.tar.gz |
* eval.c (frame_func_id): __method__ return different name from
methods defined by Module#define_method with a same block.
[ruby-core:35386] fixes #4606
* eval (method_entry_of_iseq): new helper function. search control
frame stack for a method entry which has given iseq.
* test/ruby/test_method.rb: add tests for #4696
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
0 files changed, 0 insertions, 0 deletions