[jboss-jira] [JBoss JIRA] (DROOLS-670) Generalize inline casts to work with traits

Davide Sottara (JIRA) issues at jboss.org
Sun Dec 14 19:56:29 EST 2014


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)


More information about the jboss-jira mailing list