[
https://issues.jboss.org/browse/JBRULES-3035?page=com.atlassian.jira.plug...
]
Mario Fusco resolved JBRULES-3035.
----------------------------------
Resolution: Done
I fixed the case: accumulate( Object(), $c: count(1), $c: max(1) )
Note that the other one ( Number($i: intValue) from accumulate(Object(), $i: count()) ) is
not valid because it is not allowed to have at the same time both a return type and
functions binding in the accumulate statement.
Check against duplicate declaration for variable has disappeared
----------------------------------------------------------------
Key: JBRULES-3035
URL:
https://issues.jboss.org/browse/JBRULES-3035
Project: Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 5.2.0.M2
Reporter: Wolfgang Laun
Assignee: Mario Fusco
Priority: Critical
Fix For: 5.4.0.Final
query locateFacts( int v )
$f: Fact( v: val ) ### this should cause a compile-time error
end
rule findFact
when
Fact( $k: key, $k: name ) ### this should cause a compile-time error
then
end
--
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