Davide Sottara created DROOLS-670:
-------------------------------------
Summary: 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
Fix For: 6.2.0.Final
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.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)