[jboss-jira] [JBoss JIRA] Commented: (JBRULES-536) FunctionResolver is screwed for primitives
Edson Tirelli (JIRA)
jira-events at jboss.com
Tue Nov 7 14:39:41 EST 2006
[ http://jira.jboss.com/jira/browse/JBRULES-536?page=comments#action_12346417 ]
Edson Tirelli commented on JBRULES-536:
---------------------------------------
Mark, can you explain better what is the problem here? I added a testing case with the followin DRL and it is working fine:
-------------------------------------------
package org.drools.test;
import org.drools.Cheese;
global java.util.List list
function int addFive( int price ) {
return price + 5;
}
rule "Function with Primitives"
when
Cheese( $price: price )
then
list.add( new Integer( addFive( $price ) ) );
end
-------------------------------------------
> FunctionResolver is screwed for primitives
> ---------------------------------------------
>
> Key: JBRULES-536
> URL: http://jira.jboss.com/jira/browse/JBRULES-536
> Project: JBoss Rules
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Drl Parser/Builder
> Reporter: Mark Proctor
> Assigned To: Mark Proctor
> Fix For: 3.1-m1
>
>
> Function resolver is not correctly using primitives.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list