[jboss-jira] [JBoss JIRA] (DROOLS-249) Handle conflicts when using @position in declared types
Michael Biarnes Kiefer (JIRA)
jira-events at lists.jboss.org
Tue Oct 1 03:18:03 EDT 2013
[ https://issues.jboss.org/browse/DROOLS-249?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Biarnes Kiefer updated DROOLS-249:
------------------------------------------
Fix Version/s: 6.0.0.CR5
(was: 6.0.0.CR4)
> Handle conflicts when using @position in declared types
> -------------------------------------------------------
>
> Key: DROOLS-249
> URL: https://issues.jboss.org/browse/DROOLS-249
> Project: Drools
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 5.5.0.Final, 6.0.0.CR2
> Reporter: Davide Sottara
> Assignee: Mark Proctor
> Priority: Minor
> Fix For: 5.5.1.Final, 6.0.0.CR5
>
>
> declare A
> f : int @position(2)
> g : int @position(1)
> end
> declare B extends A
> h : int @position(3)
> i : int @position(2)
> end
> The resulting field order may not be deterministic because of
> - the clashes (2)
> - the missing pos (0)
> this is dangerous when used with positional constraints
> B( $x, $y, $z, $w ; )
> Marked as minor because of the obvious workaround
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list