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

Eric Milles resolved GROOVY-6324.
---------------------------------
    Fix Version/s: 5.0.0-alpha-11
       Resolution: Fixed

https://github.com/apache/groovy/commit/195541397fffa580fe7ee4782446cd1372a421aa

> Cannot call closure like a method in type checked mode
> ------------------------------------------------------
>
>                 Key: GROOVY-6324
>                 URL: https://issues.apache.org/jira/browse/GROOVY-6324
>             Project: Groovy
>          Issue Type: Bug
>          Components: Static Type Checker
>    Affects Versions: 2.2.0-beta-1, 2.3.0, 2.4.0-rc-1
>            Reporter: Peter Niederwieser
>            Assignee: Eric Milles
>            Priority: Major
>             Fix For: 5.0.0-alpha-11
>
>
> {{Closure closure = ...; closure()}} doesn't work in type-checked mode. 
> Instead, one has to use {{closure.call()}}.



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

Reply via email to