[jboss-jira] [JBoss JIRA] (DROOLS-5) Named Consequence: compilation error if used after 'not' pattern

Mario Fusco (JIRA) jira-events at lists.jboss.org
Mon Feb 4 11:06:51 EST 2013


     [ https://issues.jboss.org/browse/DROOLS-5?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mario Fusco reassigned DROOLS-5:
--------------------------------

    Assignee: Mario Fusco  (was: Mark Proctor)

    
> Named Consequence: compilation error if used after 'not' pattern
> ----------------------------------------------------------------
>
>                 Key: DROOLS-5
>                 URL: https://issues.jboss.org/browse/DROOLS-5
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>            Reporter: Esteban Aliverti
>            Assignee: Mario Fusco
>              Labels: named_consequence
>
> If the label of a named consequence is used right after a 'not' pattern, a compilation error is raised.
> For example:
> rule R1 when
>     $a: Cheese ( type == "stilton" )
>     not Cheese ( type == "brie" )
>     do[t1]
>     b: Cheese ( type == "cheddar" )
> then
>     results.add( $b.getType() );
> then[t1]
>     results.add( $a.getType() );
> end

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