Op 18-02-13 15:09, Wolfgang Laun schreef:
On 18/02/2013, Geoffrey De Smet <ge0ffrey.spam(a)gmail.com>
wrote:
> I think so too.
> It looks like the : operator has a higher precedence then + (and
> therefor >= too), which is a bit surprising indeed.
> Personally, I never mix the : operator with other operators, to avoid
> having to worry about the precendence.
Is it possible to use a non-boolean expression as a constraint?
Strictly speaking,
I presume the answer is yes:
when
ShiftAssignment(
$employee : employee, // non-boolean expression
employee != null,
...
)
But non-strictly speaking, I think we can see that the answer is no :)
-W
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users