Accumulate with nested field binding has bad type inference
-----------------------------------------------------------
Key: JBRULES-3332
URL:
https://issues.jboss.org/browse/JBRULES-3332
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: drools-compiler (expert)
Affects Versions: 5.3.1.Final
Reporter: Adar Dembo
Assignee: Mark Proctor
(I'm completely new to Drools, so bear with me as I try to describe this)
When a rule specifies an accumulate CE containing a variable bound to a nested field
expression, the inferred type of the variable is incorrect. I have attached a pull request
containing a unit test that is broken by this bug. If I make the nested class' field
private and add a getter for it, the test passes.
--
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