Christopher Smith created GROOVY-10935:
------------------------------------------

             Summary: MissingPropertyException truncates nested class name
                 Key: GROOVY-10935
                 URL: https://issues.apache.org/jira/browse/GROOVY-10935
             Project: Groovy
          Issue Type: Bug
    Affects Versions: 4.0.9
            Reporter: Christopher Smith


When a nested class is the target of an invalid property expression, the 
resulting error message has the wrong class name:

{code:groovy}
class Outer {
  static class Inner {}
}

new Outer.Inner().missing
{code}

results in

{code}
groovy.lang.MissingPropertyException: No such property: missing for class: 
com.example.Outer
{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to