]
RH Bugzilla Integration commented on DROOLS-249:
------------------------------------------------
Rajesh Rajasekaran <rrajasek(a)redhat.com> changed the Status of [bug
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: Mario Fusco
Priority: Minor
Fix For: 5.5.1.Final, 6.0.0.Final
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