You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Eric Milles (Jira)" <ji...@apache.org> on 2023/02/24 00:32:00 UTC
[jira] [Updated] (GROOVY-10935) MissingPropertyException truncates nested class name
[ https://issues.apache.org/jira/browse/GROOVY-10935?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric Milles updated GROOVY-10935:
---------------------------------
Fix Version/s: 4.0.10
> 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
> Assignee: Eric Milles
> Priority: Minor
> Fix For: 4.0.10
>
>
> 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)