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 2016/04/21 14:12:25 UTC

[jira] [Updated] (GROOVY-7529) Fix up transforms (apart from TupleConstructor) which are affected by empty includes default

     [ https://issues.apache.org/jira/browse/GROOVY-7529?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul King updated GROOVY-7529:
------------------------------
    Component/s: xforms

> 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
>          Components: xforms
>            Reporter: Keegan Witt
>            Assignee: Paul King
>              Labels: breaking_change
>             Fix For: 2.5.0-beta-1
>
>
> 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)