[
https://issues.apache.org/jira/browse/GROOVY-5781?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eric Milles updated GROOVY-5781:
--------------------------------
Component/s: parser
(was: Compiler)
> 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.1#820001)