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/12/15 05:09:00 UTC
[jira] [Comment Edited] (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=16721851#comment-16721851 ]
Paul King edited comment on GROOVY-8822 at 12/15/18 5:08 AM:
-------------------------------------------------------------
[~Schlogen] From a fresh checkout, that gradle task builds successfully for me on that branch. Are any cached classes/jars in play in your environment generated (i.e. pre-compiled) with an earlier version of Groovy?
was (Author: paulk):
[~Schlogen] Are any of the classes/plugins in play generated (i.e. pre-compiled) with earlier versions of Groovy?
> 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)