[jboss-jira] [JBoss JIRA] Reopened: (JBRULES-3035) Check against duplicate declaration for variable has disappeared
Wolfgang Laun (JIRA)
jira-events at lists.jboss.org
Fri May 27 06:17:01 EDT 2011
[ https://issues.jboss.org/browse/JBRULES-3035?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wolfgang Laun reopened JBRULES-3035:
------------------------------------
The erstwhile problems have been resolved but, due to the new possibility of binding to accumulate functions, the issue still rears its ugly - head:
Number($i: intValue) from accumulate(Object(), $i: count()) ### duplicate $i
accumulate( Object(), $c: count(1), $c: max(1) ) ### duplicate $c
> 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: Mark Proctor
> Priority: Critical
> Fix For: 5.2.0.CR1
>
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list