Daniil Ovchinnikov created GROOVY-8633:
------------------------------------------

             Summary: MME on Class receiver via method closure
                 Key: GROOVY-8633
                 URL: https://issues.apache.org/jira/browse/GROOVY-8633
             Project: Groovy
          Issue Type: Bug
    Affects Versions: 2.5.0, 3.0.0-alpha-2
            Reporter: Daniil Ovchinnikov


{code}
def c = Integer
println c.toGenericString() // public final class java.lang.Integer
def cl = c.&toGenericString
println cl() // groovy.lang.MissingMethodException: No signature of method: 
java.lang.Integer.toGenericString() is applicable for argument types: () 
values: []
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to