[jboss-jira] [JBoss JIRA] (JBRULES-3059) declare: inconsistent behaviour w.r.t. field redefinition
Geoffrey De Smet (JIRA)
jira-events at lists.jboss.org
Wed Feb 1 05:26:04 EST 2012
[ https://issues.jboss.org/browse/JBRULES-3059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Geoffrey De Smet updated JBRULES-3059:
--------------------------------------
Fix Version/s: 5.4.0.Beta3
(was: 5.4.0.Beta2)
> 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: Edson Tirelli
> Fix For: 5.4.0.Beta3
>
>
> 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.
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
More information about the jboss-jira
mailing list