END { } in method should generate a warning and not an error
------------------------------------------------------------

                 Key: JRUBY-1744
                 URL: http://jira.codehaus.org/browse/JRUBY-1744
             Project: JRuby
          Issue Type: Bug
          Components: Parser
    Affects Versions: JRuby 1.1b1
            Reporter: Thomas E Enebo
            Assignee: Thomas E Enebo
             Fix For: JRuby 1.1b2


{noformat}
def foo
  END { puts "HEH" }
end
{noformat}

Should generate warning and not an error

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to