[jboss-jira] [JBoss JIRA] (DROOLS-50) Compilation failure using null safe dereferencing and memberOf together
Mario Fusco (JIRA)
jira-events at lists.jboss.org
Fri Feb 22 10:07:56 EST 2013
[ https://issues.jboss.org/browse/DROOLS-50?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mario Fusco resolved DROOLS-50.
-------------------------------
Fix Version/s: 5.6
6.0.0.Alpha1
Resolution: Done
> Compilation failure using null safe dereferencing and memberOf together
> -----------------------------------------------------------------------
>
> Key: DROOLS-50
> URL: https://issues.jboss.org/browse/DROOLS-50
> Project: Drools
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Reporter: Mario Fusco
> Assignee: Mario Fusco
> Fix For: 5.6, 6.0.0.Alpha1
>
>
> Having a pattern like:
> {code}
> Attribute( this memberOf $atts || this memberOf $seq!.particle )
> {code}
> where $atts is bound to a list property and $seq.particle is also a list property. $seq may be null, hence the !. accessor, the compiler produces the following failure
> Unable to Analyse Expression
> $atts contains this || $seq.particle contains $seq != null && this
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list