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 | e6f6c77d1dc368e240dcb6b827e9e868efb6c06f (patch) | |
tree | 5d2f68fa1a4f53f5b09803b1dfe7cb063ec232f2 /test/ruby/test_lazy_enumerator.rb | |
parent | a5beed9ff467be394afc4957f0c9b12765c81743 (diff) |
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 'test/ruby/test_lazy_enumerator.rb')
0 files changed, 0 insertions, 0 deletions