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

John Wagenleitner resolved GROOVY-7077.
---------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.3.11
                   2.4.0

Tested with version 2.3.7-11 and confirmed fixed in 2.3.11.  Also verified it's 
fixed in 2.4.0-5.

> NullPointerException compiling fully qualified reference to 'this' of outer 
> class inside inner class
> ----------------------------------------------------------------------------------------------------
>
>                 Key: GROOVY-7077
>                 URL: https://issues.apache.org/jira/browse/GROOVY-7077
>             Project: Groovy
>          Issue Type: Bug
>          Components: Compiler
>    Affects Versions: 2.3.4, 2.3.6
>            Reporter: Denis Murashev
>             Fix For: 2.4.0, 2.3.11
>
>
> Compiling a class with inner class,  using the ClassName.this syntax causes 
> an error in the compiler.
> The problem can be reproduced with following simple code fragment:
> {code}
> class BrokenGroovy {
>   def user = new Object() {
>     def field = BrokenGroovy.this
>   }
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to