[ruby-cvs:55985] nobu:r48835 (trunk): parse.y: warn reference after method definition

nobu at ruby-lang.org nobu at ruby-lang.org
Sun Dec 14 20:11:47 JST 2014


nobu	2014-12-14 20:11:45 +0900 (Sun, 14 Dec 2014)

  New Revision: 48835

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

  Log:
    parse.y: warn reference after method definition
    
    * parse.y (primary): restore current_arg so that circular
      reference after a method definition is also warned.
      [ruby-core:61299] [Bug #9593]

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


More information about the ruby-cvs mailing list