[ruby-cvs:68620] nagachika:r61439 (ruby_2_4): merge revision(s) 60099, 60100: [Backport #13964]

nagachika at ruby-lang.org nagachika at ruby-lang.org
Sun Dec 24 11:45:07 JST 2017


nagachika	2017-12-24 11:45:07 +0900 (Sun, 24 Dec 2017)

  New Revision: 61439

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

  Log:
    merge revision(s) 60099,60100: [Backport #13964]
    
    compile.c: fix stack consitency error
    
    * compile.c (iseq_compile_each0): fix stack consitency error on
      attr-assign with safe navigation operator when the receiver is
      nil, should pop it too.  [ruby-core:83078] [Bug #13964]
    
    test_call.rb: refine test_safe_call
    
    * test/ruby/test_call.rb (test_safe_call): rhs should not be
      evaluated when the receiver is nil.  simplified the assertion
      for  [Bug #13964].

  Modified directories:
    branches/ruby_2_4/
  Modified files:
    branches/ruby_2_4/compile.c
    branches/ruby_2_4/test/ruby/test_call.rb
    branches/ruby_2_4/version.h


More information about the ruby-cvs mailing list