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

Paul King commented on GROOVY-7529:
-----------------------------------

This is a breaking change for the specific edge case of explicitly providing an 
empty includes. If affected by this change, remove the explicit includes or use 
the marker value as per the respective annotation definitions.

> Fix up transforms (apart from TupleConstructor) which are affected by empty 
> includes default
> --------------------------------------------------------------------------------------------
>
>                 Key: GROOVY-7529
>                 URL: https://issues.apache.org/jira/browse/GROOVY-7529
>             Project: Groovy
>          Issue Type: Bug
>            Reporter: Keegan Witt
>            Assignee: Paul King
>              Labels: breaking_change
>
> I know this is a bit of an edge case, but I find the behavior doesn't follow 
> what one would expect
> {code:java}
> assert Cat.class.declaredConstructors.size() == 1  // fails
> @groovy.transform.TupleConstructor(includes=[])
> class Cat {
>   String name
>   int age
> }
> {code}
> This is a CLONE to cover the other transforms. TupleConstructor was fixed in 
> GROOVY-7523.



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

Reply via email to