Project

General

Profile

« Previous | Next » 

Revision 952ed33b

Added by nobu (Nobuyoshi Nakada) over 9 years ago

parse.y: fix internal IDs conflict

  • parse.y (f_kwrest, new_args_tail_gen): unnamed rest keyword and
    keywords bits arguments should be unique. since internal IDs
    depend on the local variable index in the current scope, new ID
    should be made before popping those vtables.
    [ruby-core:67157] [Bug #10659]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e