define_method call in rcov causes RuntimeException
--------------------------------------------------

                 Key: JRUBY-2237
                 URL: http://jira.codehaus.org/browse/JRUBY-2237
             Project: JRuby
          Issue Type: Bug
          Components: Interpreter
    Affects Versions: JRuby 1.1RC3
         Environment: JRuby trunk
java 6
            Reporter: Ryan Bell


A code reduction based on some rcov code:

{{module A; define_method("test", method("to_s").to_proc);end}}

This causes runtime exception:

{{java.lang.RuntimeException: MethodBlock does not have a static scope; this 
should not be called}}






-- 
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