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

Paul King closed GROOVY-10741.
------------------------------

> STC method pointer or reference to generated property method
> ------------------------------------------------------------
>
>                 Key: GROOVY-10741
>                 URL: https://issues.apache.org/jira/browse/GROOVY-10741
>             Project: Groovy
>          Issue Type: Bug
>            Reporter: Eric Milles
>            Assignee: Eric Milles
>            Priority: Minor
>             Fix For: 4.0.5, 2.5.19, 3.0.13
>
>
> Consider the following:
> {code:groovy}
> class C { def foo }
> @groovy.transform.TypeChecked
> void test(List<C> list) {
>   print list.collect(C.&getFoo) // Cannot find matching method C#getFoo
> }
> test([new C(foo:'bar'), new C(foo:'baz')])
> {code}



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

Reply via email to