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

Paul King resolved GROOVY-8013.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 2.5.0-beta-1

Proposed PR merged

> 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
>             Fix For: 2.5.0-beta-1
>
>
> 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)

Reply via email to