[ruby-cvs:55130] nagachika:r47980 (ruby_2_1): merge revision(s) r47645: [Backport #10263]

nagachika at ruby-lang.org nagachika at ruby-lang.org
Thu Oct 16 22:06:12 JST 2014


nagachika	2014-10-16 22:06:10 +0900 (Thu, 16 Oct 2014)

  New Revision: 47980

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

  Log:
    merge revision(s) r47645: [Backport #10263]
    
    * vm_eval.c (eval_string_with_cref): fix super from eval with
      scope.  set klass in the current control frame to the class of
      the receiver in the context to be evaluated, this class/module
      must match the actual receiver to call super.
      [ruby-core:65122] [Bug #10263]

  Modified directories:
    branches/ruby_2_1/
  Modified files:
    branches/ruby_2_1/ChangeLog
    branches/ruby_2_1/test/ruby/test_super.rb
    branches/ruby_2_1/version.h
    branches/ruby_2_1/vm_eval.c


More information about the ruby-cvs mailing list