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 2019/12/09 21:37:02 UTC
[jira] [Closed] (GROOVY-8825) CLONE - Conflict between @Generated
and @Delegate
[ https://issues.apache.org/jira/browse/GROOVY-8825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul King closed GROOVY-8825.
-----------------------------
> CLONE - Conflict between @Generated and @Delegate
> -------------------------------------------------
>
> Key: GROOVY-8825
> URL: https://issues.apache.org/jira/browse/GROOVY-8825
> Project: Groovy
> Issue Type: Bug
> Affects Versions: 2.5.3
> Reporter: François Guillot
> Assignee: Paul King
> Priority: Major
> Fix For: 2.5.9, 3.0.0-rc-2
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> I cloned the issue to try to find a suitable test. There is now an extra guard which should prevent the problem in case I envisage.
> ORIGINAL BELOW:
> 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
(v8.3.4#803005)