groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniil Ovchinnikov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (GROOVY-8633) MME on Class receiver via method closure
Date Mon, 04 Jun 2018 17:04:00 GMT
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)

Mime
View raw message