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)

Reply via email to