]
Kris Verlaenen updated DROOLS-670:
----------------------------------
Fix Version/s: (was: 7.0.0.Final)
Generalize inline casts to work with traits
-------------------------------------------
Key: DROOLS-670
URL:
https://issues.jboss.org/browse/DROOLS-670
Project: Drools
Issue Type: Enhancement
Affects Versions: 6.2.0.CR3
Reporter: Davide Sottara
Assignee: Davide Sottara
The following constraint
{code}
Person( this#Worker( wage > 1000 ) )
{code}
is admissible when Worker is a subtype of Person.
It should also be possible to use "#" when Worker is a donned trait.