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

Edson Tirelli (Commented) (JIRA) jira-events at lists.jboss.org
Wed Jan 4 11:20:10 EST 2012


    [ https://issues.jboss.org/browse/JBRULES-3326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12653826#comment-12653826 ] 

Edson Tirelli commented on JBRULES-3326:
----------------------------------------

This is an MVEL Bug. Mario is aware and will take care of it. I added the test case to the drools codebase:

https://github.com/droolsjbpm/drools/commit/acd45e94df0d6c8e0b8952fd001a2288cdbff212

                
> 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
>              Labels: compilation, drl
>
> 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