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

Kris Verlaenen (JIRA) issues at jboss.org
Tue Apr 25 17:43:00 EDT 2017


     [ https://issues.jboss.org/browse/DROOLS-670?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list