support complex expression in left hand side of constraint
----------------------------------------------------------
Key: JBRULES-2939
URL:
https://issues.jboss.org/browse/JBRULES-2939
Project: Drools
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: drools-compiler (expert)
Affects Versions: 5.1.1.FINAL
Reporter: Radai Rosenblatt
Assignee: Mark Proctor
currently drools does not support the following syntax:
...
Number($var8 : longValue , ((longValue) * (1.5)) < $var7) from ...
...
(results in "no viable alternative at input ')' in...")
however, this works fine if the condition is re-written like this: "longValue <
(($var7)/1.5)"
it would be nice if drools knew how to cope with the condition in its original form as
well.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira