You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Eric Milles (Jira)" <ji...@apache.org> on 2022/09/07 17:36:00 UTC

[jira] [Closed] (GROOVY-8658) MME on instance receiver via method closure

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

Eric Milles closed GROOVY-8658.
-------------------------------
    Assignee: Eric Milles

> MME on instance receiver via method closure
> -------------------------------------------
>
>                 Key: GROOVY-8658
>                 URL: https://issues.apache.org/jira/browse/GROOVY-8658
>             Project: Groovy
>          Issue Type: Bug
>    Affects Versions: 2.5.0
>            Reporter: Daniil Ovchinnikov
>            Assignee: Eric Milles
>            Priority: Major
>
> {code:groovy}
> def c = String.&toUpperCase
> c() // IAE: object is not an instance of declaring class
> c("hi") // MME: No signature of method: java.lang.String.toUpperCase() is applicable for argument types: (java.lang.String) values: [hi]
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)