[ruby-cvs:65256] usa:r58085 (ruby_2_2): merge revision(s) 53383, 55366: [Backport #12478]

usa at ruby-lang.org usa at ruby-lang.org
Sat Mar 25 23:43:16 JST 2017


usa	2017-03-25 23:43:16 +0900 (Sat, 25 Mar 2017)

  New Revision: 58085

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

  Log:
    merge revision(s) 53383,55366: [Backport #12478]
    
    * 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.
    
    * lib/forwardable.rb (Forwardable._delegator_method): extract
      method generator and deal with non-module objects.
      [ruby-dev:49656] [Bug #12478]

  Modified directories:
    branches/ruby_2_2/
  Modified files:
    branches/ruby_2_2/ChangeLog
    branches/ruby_2_2/lib/forwardable.rb
    branches/ruby_2_2/test/test_forwardable.rb
    branches/ruby_2_2/version.h


More information about the ruby-cvs mailing list