[ruby-cvs:52870] nobu:r45724 (trunk): compile.c: non-destructive keyword splat

nobu at ruby-lang.org nobu at ruby-lang.org
Sat Apr 26 10:55:34 JST 2014


nobu	2014-04-26 10:55:34 +0900 (Sat, 26 Apr 2014)

  New Revision: 45724

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

  Log:
    compile.c: non-destructive keyword splat
    
    * compile.c (compile_array_): make copy a first hash not to modify
      the argument itself.  keyword splat should be non-destructive.
      [ruby-core:62161] [Bug #9776]

  Modified files:
    trunk/ChangeLog
    trunk/compile.c
    trunk/test/ruby/test_keyword.rb


More information about the ruby-cvs mailing list