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

Paul King updated GROOVY-1569:
------------------------------
    Fix Version/s:     (was: 3.x)
                   4.x

> correct closure property access to field access the same way it is done this.x
> ------------------------------------------------------------------------------
>
>                 Key: GROOVY-1569
>                 URL: https://issues.apache.org/jira/browse/GROOVY-1569
>             Project: Groovy
>          Issue Type: Sub-task
>          Components: class generator
>            Reporter: Jochen Theodorou
>            Priority: Major
>             Fix For: 4.x
>
>
> this code:
> {code}
> class A {
>   private foo = 1
>   def getFoo(){
>     10.times { println this.foo }
>     return this.foo+1
>   }
> }
> def a = new A()
> println a.foo
> {code}
> should not end in a stack overflow



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to