Eric Milles created GROOVY-11394:
------------------------------------
Summary: STC: zero-parameter closure call with args
Key: GROOVY-11394
URL: https://issues.apache.org/jira/browse/GROOVY-11394
Project: Groovy
Issue Type: Bug
Components: Static Type Checker
Reporter: Eric Milles
Assignee: Eric Milles
Consider the following:
{code:groovy}
@groovy.transform.TypeChecked
void test() {
def c = { -> }
c("")
}
test()
{code}
This should be flagged as an error.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)