Project

General

Profile

« Previous | Next » 

Revision 64ae33a1

Added by nobu (Nobuyoshi Nakada) about 13 years ago

parse.y: fix GC problem of keyword rest argument

  • parse.y (new_args_tail_gen): fix GC problem of keyword rest
    argument. the wrapped struct should be bound to the wrapping node
    before assignment of child nodes, to get rid of the case the
    children are referred by only the struct pointer which is not a
    subject of GC. [ruby-core:45744]

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