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

Eric Milles reassigned GROOVY-8328:
-----------------------------------

    Assignee: Eric Milles

> Callable properties doesn't work with Java objects via closure delegate
> -----------------------------------------------------------------------
>
>                 Key: GROOVY-8328
>                 URL: https://issues.apache.org/jira/browse/GROOVY-8328
>             Project: Groovy
>          Issue Type: Bug
>            Reporter: Daniil Ovchinnikov
>            Assignee: Eric Milles
>            Priority: Major
>
> {code}
> def mm = [someKey: 42, someClosure: { 43 }] // LinkedHashMap
> mm.with {
>     println someKey
>     println someClosure() // MissingMethodException
> }
> {code}
> It works however when {{mm instanceof GroovyObject}}.



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

Reply via email to