[jboss-jira] [JBoss JIRA] Created: (JBRULES-3059) declare: inconsistent behaviour w.r.t. field redefinition
Wolfgang Laun (JIRA)
jira-events at lists.jboss.org
Mon May 30 07:48:01 EDT 2011
declare: inconsistent behaviour w.r.t. field redefinition
---------------------------------------------------------
Key: JBRULES-3059
URL: https://issues.jboss.org/browse/JBRULES-3059
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: drools-compiler (expert)
Affects Versions: 5.2.0.CR1
Reporter: Wolfgang Laun
Assignee: Mark Proctor
Fix For: 5.2.0
import Person
declare Person
name : String = "Joe" @key # here only @key is recognized; the initialization is not done
end
declare Employee extends Person
custno : int @key
name : String = "Joe" @key # here @key and initialization are recognized
end
If it cannot be honoured, the initialization should cause an error.
--
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