[jboss-jira] [JBoss JIRA] (JBRULES-3254) disjunction with string == does not compile anymore

Jean-Marc Vanel (Created) (JIRA) jira-events at lists.jboss.org
Mon Oct 17 11:41:45 EDT 2011


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: Mark Proctor


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