[ruby-cvs:69316] usa:r62135 (ruby_2_3): merge revision(s) 60099, 60100: [Backport #13964]

usa at ruby-lang.org usa at ruby-lang.org
Wed Jan 31 22:16:26 JST 2018


usa	2018-01-31 22:16:25 +0900 (Wed, 31 Jan 2018)

  New Revision: 62135

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

  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_3/
  Modified files:
    branches/ruby_2_3/ChangeLog
    branches/ruby_2_3/compile.c
    branches/ruby_2_3/test/ruby/test_call.rb
    branches/ruby_2_3/version.h


More information about the ruby-cvs mailing list