diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-30 02:28:59 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-30 02:28:59 +0000 |
commit | 2e26fa48ffade18988e63eb9e0c9f9e2d7474576 (patch) | |
tree | add72ea5a4f487a58f983d11633b879d0f43b100 /test/ruby/test_string.rb | |
parent | 6ffebd1ab72c38497a48a9c87f1c1c9a388b7394 (diff) | |
download | ruby-2e26fa48ffade18988e63eb9e0c9f9e2d7474576.tar.gz |
forwardable.rb: adjust backtrace by tail call
* lib/forwardable.rb (def_instance_delegator): adjust backtrace of
method body by tail call optimization. adjusting the delegated
target is still done by deleting backtrace.
* lib/forwardable.rb (def_single_delegator): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_string.rb')
0 files changed, 0 insertions, 0 deletions