simple declaration flagged in RHS code, dialect "mvel"
------------------------------------------------------
Key: JBRULES-3197
URL:
https://issues.jboss.org/browse/JBRULES-3197
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: drools-core (expert)
Affects Versions: 5.3.0.Beta1
Reporter: Wolfgang Laun
Assignee: Mark Proctor
Fix For: 5.3.0.CR1
The declaration of variable i is flagged as an error, with
a funny error message: variable defined within scope: i,
as if there ever were a variable that is *not* defined
within its scope!
Expected behaviour is to accept this declaration.
rule KickOff
dialect "mvel"
when
then
int i;
end
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira