diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-01-10 11:57:51 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-01-10 11:57:51 +0000 |
commit | 66f97de655129d6156496a779dfa8a12b4da9ca8 (patch) | |
tree | 5d2f68fa1a4f53f5b09803b1dfe7cb063ec232f2 /ChangeLog | |
parent | 292d1421a123be8fa7f2d769f70f57a364ae1914 (diff) | |
download | ruby-66f97de655129d6156496a779dfa8a12b4da9ca8.tar.gz |
compile.c: fix lhs splat in massign
* compile.c (compile_massign_lhs): when index ends with splat,
append rhs value to it like POSTARG, since VM_CALL_ARGS_SPLAT
splats the last argument only. [ruby-core:72777] [Bug #11970]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,9 @@ +Sun Jan 10 20:57:25 2016 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * compile.c (compile_massign_lhs): when index ends with splat, + append rhs value to it like POSTARG, since VM_CALL_ARGS_SPLAT + splats the last argument only. [ruby-core:72777] [Bug #11970] + Sun Jan 10 15:45:10 2016 Nobuyoshi Nakada <nobu@ruby-lang.org> * include/ruby/missing.h (explicit_bzero_by_memset_s): remove |