You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Kevin Sheppard (Jira)" <ji...@apache.org> on 2023/05/18 00:19:00 UTC
[jira] [Created] (GROOVY-11064) MissingPropertyException is thrown when accessing a pseudo property
Kevin Sheppard created GROOVY-11064:
---------------------------------------
Summary: MissingPropertyException is thrown when accessing a pseudo property
Key: GROOVY-11064
URL: https://issues.apache.org/jira/browse/GROOVY-11064
Project: Groovy
Issue Type: Bug
Components: ast builder
Affects Versions: 4.0.12, 4.0.0
Reporter: Kevin Sheppard
The following code throws a MissingPropertyException:
{code:java}
class User {
Boolean isValid() {
return true
}
}
assert new User().valid // Assertion fail with MissingPropertyException{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)