baldimir opened a new issue, #969:
URL: https://github.com/apache/incubator-kie-issues/issues/969
When negating a value in a DRL rule, in an accumulate function, like this:
```
accumulate ($p: Person (getName().startsWith("M"));
$sum : sum(-$p.getAge()))
```
The build of the executable model ends with error:
`Invalid expression -$p.getAge()`
Test case that could be added to
org.drools.model.codegen.execmodel.AccumulateTest class:
https://gist.github.com/baldimir/dd594f0b6e789a61284e134b7ee8f529
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]