[ https://issues.apache.org/jira/browse/GROOVY-6324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric Milles updated GROOVY-6324: -------------------------------- Language: groovy > 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 > Priority: Major > > {{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)