You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/12/02 20:29:58 UTC
[jira] [Commented] (GROOVY-8013) The checking of property names
during AST transform attribute processing doesn't take into account
includeSuperProperties
[ https://issues.apache.org/jira/browse/GROOVY-8013?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15716195#comment-15716195 ]
ASF GitHub Bot commented on GROOVY-8013:
----------------------------------------
GitHub user paulk-asert opened a pull request:
https://github.com/apache/groovy/pull/468
GROOVY-8013: The checking of property names during AST transform attr…
…ibute processing doesn't take into account includeSuperProperties
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/paulk-asert/groovy groovy8013
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/groovy/pull/468.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 #468
----
commit 8a56fe6f87f39a7f98e60dab0d3680dd82ae95e5
Author: paulk <pa...@asert.com.au>
Date: 2016-12-02T20:27:23Z
GROOVY-8013: The checking of property names during AST transform attribute processing doesn't take into account includeSuperProperties
----
> 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)