[ruby-cvs:55340] nobu:r48190 (trunk): parse.y: reset current_arg after block var

nobu at ruby-lang.org nobu at ruby-lang.org
Thu Oct 30 00:01:50 JST 2014


nobu	2014-10-30 00:01:49 +0900 (Thu, 30 Oct 2014)

  New Revision: 48190

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

  Log:
    parse.y: reset current_arg after block var
    
    * parse.y (block_param_def): reset current_arg after block
      parameter definition, not to warn references in that block body.
      [ruby-core:65990] [Bug #10314]

  Modified files:
    trunk/parse.y
    trunk/test/ruby/test_syntax.rb


More information about the ruby-cvs mailing list