[jboss-jira] [JBoss JIRA] (DROOLS-5) Named Consequence: compilation error if used after 'not' pattern
Esteban Aliverti (JIRA)
jira-events at lists.jboss.org
Fri Dec 21 10:54:08 EST 2012
Esteban Aliverti created DROOLS-5:
-------------------------------------
Summary: 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: Mark Proctor
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