[jboss-jira] [JBoss JIRA] (JBRULES-3326) drl compilation failed when encountering multiple continuous '!' (a.k.a 'not' operator)s

Miles Wen (Created) (JIRA) jira-events at lists.jboss.org
Wed Jan 4 00:40:09 EST 2012


drl compilation failed when encountering multiple continuous '!' (a.k.a 'not' operator)s
----------------------------------------------------------------------------------------

                 Key: JBRULES-3326
                 URL: https://issues.jboss.org/browse/JBRULES-3326
             Project: Drools
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: drools-compiler (expert)
    Affects Versions: 5.3.0.Final
         Environment: jdk 1.6u27, ubuntu linux 11.04
            Reporter: Miles Wen
            Assignee: Mark Proctor


this code: 

rule "out"
    when
        Msg(!!!false)
    then
end

compile failed with message: 

Unable to Analyse Expression !!!false:
[Error: unexpected operator '!']
[Near : {... !!!false ....}]
             ^
[Line: 16, Column: 12] : [Rule name='out']

but Msg(!false) compiles correctly.

--
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