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

Jochen Theodorou updated GROOVY-3683:
-------------------------------------
    Issue Type: Bug  (was: Sub-task)
        Parent:     (was: GROOVY-4579)

> groovyc can't joint compile a Java class that uses a delegate method from a 
> Groovy class with an @Delegate property annotation
> ------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: GROOVY-3683
>                 URL: https://issues.apache.org/jira/browse/GROOVY-3683
>             Project: Groovy
>          Issue Type: Bug
>          Components: Compiler, Stub generator / Joint compiler
>    Affects Versions: 1.6.4
>         Environment: OS X Leopard w/ Java JDK 1.6.0
>            Reporter: Scott Murphy
>
> {code:title=Test.groovy}
> class Test {
>   @Delegate TestDelegate test = new TestDelegate(name:"Scott")
> }
> class TestDelegate { String name }
> {code}
> {code:title=TestRun.java}
> public class TestRun {
>   public static void main(String args[]) {
>     System.out.println(new Test().getName());
>   }
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to