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/05 04:36:00 UTC
[jira] [Resolved] (GROOVY-8822) Conflict between @Generated and
@Delegate
[ https://issues.apache.org/jira/browse/GROOVY-8822?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul King resolved GROOVY-8822.
-------------------------------
Resolution: Fixed
Assignee: Paul King
Fix Version/s: 2.5.3
3.0.0-alpha-4
I have added an extra guard where I expect the problem to be coming from but haven't found a way to reproduce. I cloned the issue to allow us to consider further testing.
> 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
> Assignee: Paul King
> Priority: Major
> Fix For: 3.0.0-alpha-4, 2.5.3
>
>
> 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)