You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Paul King (JIRA)" <ji...@apache.org> on 2018/10/04 07:26:00 UTC

[jira] [Commented] (GROOVY-8822) Conflict between @Generated and @Delegate

    [ https://issues.apache.org/jira/browse/GROOVY-8822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16637885#comment-16637885 ] 

Paul King commented on GROOVY-8822:
-----------------------------------

Do you have some sample code?

> Conflict between @Generated and @Delegate
> -----------------------------------------
>
>                 Key: GROOVY-8822
>                 URL: https://issues.apache.org/jira/browse/GROOVY-8822
>             Project: Groovy
>          Issue Type: Bug
>    Affects Versions: 2.5.3
>            Reporter: François Guillot
>            Priority: Major
>
> I get 
> java.lang.annotation.AnnotationFormatError: Duplicate annotation for class: interface groovy.transform.Generated: @groovy.transform.Generated()
> On a class with a field declared with @Delegate
>  
> Removing @Delegate works around the problem



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)