[
https://issues.apache.org/jira/browse/GROOVY-8013?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15718912#comment-15718912
]
ASF GitHub Bot commented on GROOVY-8013:
----------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/groovy/pull/468
> The checking of property names during AST transform attribute processing
> doesn't take into account includeSuperProperties
> -------------------------------------------------------------------------------------------------------------------------
>
> Key: GROOVY-8013
> URL: https://issues.apache.org/jira/browse/GROOVY-8013
> Project: Groovy
> Issue Type: Bug
> Components: xforms
> Reporter: Paul King
> Assignee: Paul King
>
> Example shown below is for @ToString but the issue affects numerous xforms:
> {code}
> import groovy.transform.*
> @ToString
> class Foo {
> String baz = 'baz'
> }
> @ToString(includes='baz', includeSuperProperties=true)
> class Bar extends Foo {
> int num = 42
> }
> new Bar().toString()
> // 1 compilation error: Error during @ToString processing: 'includes'
> property 'baz' does not exist.
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)