[ 
https://issues.apache.org/jira/browse/GROOVY-8633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eric Milles closed GROOVY-8633.
-------------------------------

> 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: 3.0.0-alpha-2, 2.5.0
>            Reporter: Daniil Ovchinnikov
>            Assignee: Eric Milles
>            Priority: Major
>             Fix For: 4.0.0-beta-1
>
>
> {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
(v8.20.10#820010)

Reply via email to