[ruby-cvs:55137] usa:r47987 (ruby_2_0_0): merge revision(s) 47645: [Backport #10263]

usa at ruby-lang.org usa at ruby-lang.org
Fri Oct 17 13:13:40 JST 2014


usa	2014-10-17 13:13:38 +0900 (Fri, 17 Oct 2014)

  New Revision: 47987

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

  Log:
    merge revision(s) 47645: [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_0_0/
  Modified files:
    branches/ruby_2_0_0/ChangeLog
    branches/ruby_2_0_0/test/ruby/test_super.rb
    branches/ruby_2_0_0/version.h
    branches/ruby_2_0_0/vm_eval.c


More information about the ruby-cvs mailing list