[jboss-jira] [JBoss JIRA] (JBRULES-3254) disjunction with string == does not compile anymore
Mario Fusco (Resolved) (JIRA)
jira-events at lists.jboss.org
Mon Oct 17 13:14:45 EDT 2011
[ https://issues.jboss.org/browse/JBRULES-3254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mario Fusco resolved JBRULES-3254.
----------------------------------
Resolution: Cannot Reproduce Bug
> disjunction with string == does not compile anymore
> -----------------------------------------------------
>
> Key: JBRULES-3254
> URL: https://issues.jboss.org/browse/JBRULES-3254
> Project: Drools
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: FUTURE
> Reporter: Jean-Marc Vanel
> Assignee: Mario Fusco
>
> Such expressions in LHS do not compile anymore :
> C( f == "a" || f == "b" )
>
> ==> compiler says : Predicate ' f == "a" || f == "b" ' must be a Boolean expression
> Note that this does not work any more :
> C( ( f == "a" ) || ( f == "b" ) )
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list