[ruby-cvs:68510] nobu:r61329 (trunk): compile.c: side effect in splat

nobu at ruby-lang.org nobu at ruby-lang.org
Tue Dec 19 09:45:55 JST 2017


nobu	2017-12-19 09:45:55 +0900 (Tue, 19 Dec 2017)

  New Revision: 61329

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

  Log:
    compile.c: side effect in splat
    
    * compile.c (compile_array): splat which may have side effects
      should be compiled even if the result will be popped.
      [ruby-core:84340] [Bug #14201]
    
    From: Nobuyoshi Nakada <nobu at ruby-lang.org>

  Modified files:
    trunk/compile.c
    trunk/test/ruby/test_optimization.rb


More information about the ruby-cvs mailing list