[ 
https://issues.apache.org/jira/browse/GROOVY-5781?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Paul King closed GROOVY-5781.
-----------------------------

> A missing property that doesn't cause MissingPropertyException
> --------------------------------------------------------------
>
>                 Key: GROOVY-5781
>                 URL: https://issues.apache.org/jira/browse/GROOVY-5781
>             Project: Groovy
>          Issue Type: Bug
>          Components: parser
>    Affects Versions: 1.8.6, 2.0.5, 2.4.5
>            Reporter: Cyril Martin
>            Priority: Major
>
> The following script works but it should not because v is undefined.
>    def v = v? v : (0==1); 0
> But if we replace 0 by (1-1), or (0==1) by (false), we have the expected 
> issue: MissingPropertyException: No such property: v...
> Tested with Groovy 1.8.6 and 2.0.5



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

Reply via email to