[ruby-cvs:60546] nobu:r53383 (trunk): forwardable.rb: adjust backtrace by tail call

nobu at ruby-lang.org nobu at ruby-lang.org
Wed Dec 30 11:28:59 JST 2015


nobu	2015-12-30 11:28:59 +0900 (Wed, 30 Dec 2015)

  New Revision: 53383

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

  Log:
    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.

  Modified files:
    trunk/ChangeLog
    trunk/lib/forwardable.rb
    trunk/test/test_forwardable.rb


More information about the ruby-cvs mailing list