Project

General

Profile

« Previous | Next » 

Revision e6f6c77d

Added by nobu (Nobuyoshi Nakada) over 8 years ago

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