[ https://issues.apache.org/jira/browse/GROOVY-7529?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14647571#comment-14647571 ]
ASF GitHub Bot commented on GROOVY-7529: ---------------------------------------- GitHub user paulk-asert opened a pull request: https://github.com/apache/incubator-groovy/pull/77 GROOVY-7529: Fix up transforms (apart from TupleConstructor) which ar… …e affected by empty includes default You can merge this pull request into a Git repository by running: $ git pull https://github.com/paulk-asert/incubator-groovy groovy7529 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-groovy/pull/77.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #77 ---- commit d6f398b344a6cda38f319e061d0ab1257361c1c7 Author: paulk <pa...@asert.com.au> Date: 2015-07-30T12:44:57Z GROOVY-7529: Fix up transforms (apart from TupleConstructor) which are affected by empty includes default ---- > 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 > > 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)