Daniil Ovchinnikov created GROOVY-7949:
------------------------------------------

             Summary: Disallow static inner classes within anonymous classes
                 Key: GROOVY-7949
                 URL: https://issues.apache.org/jira/browse/GROOVY-7949
             Project: Groovy
          Issue Type: Bug
            Reporter: Daniil Ovchinnikov


This just do not make sense, but works:
{code}
def a = new Hello() {
    static class Hello {
        def foo() { "hello" }
    }
}
println a.foo()
{code}





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

Reply via email to