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

Paul King closed GROOVY-7523.
-----------------------------

> TupleConstructor with empty includes includes all
> -------------------------------------------------
>
>                 Key: GROOVY-7523
>                 URL: https://issues.apache.org/jira/browse/GROOVY-7523
>             Project: Groovy
>          Issue Type: Bug
>          Components: xforms
>            Reporter: Keegan Witt
>            Assignee: Paul King
>              Labels: breaking_change
>             Fix For: 2.5.0-alpha-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 message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to