[ruby-cvs:56191] nobu:r49041 (trunk): parse.y: fix internal IDs conflict

nobu at ruby-lang.org nobu at ruby-lang.org
Sun Dec 28 13:54:30 JST 2014


nobu	2014-12-28 13:54:28 +0900 (Sun, 28 Dec 2014)

  New Revision: 49041

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

  Log:
    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]

  Modified files:
    trunk/ChangeLog
    trunk/parse.y
    trunk/test/ruby/test_keyword.rb


More information about the ruby-cvs mailing list