[rules-dev] [Bug]: 5.5.0: binding makes parser accept non-boolean constraint
Wolfgang Laun
wolfgang.laun at gmail.com
Mon Feb 18 07:45:50 EST 2013
Below is a self-contained DRL which should not compile because the sum
isn't a boolean expression. (Note that omitting "$x:" results in the
correct diagnostic "predicate ... must be a boolean".)
declare Foo
a: double
b: double
end
rule what
when
$c: Foo( $x: a + b )
then
System.out.println( "foo: " + $c );
end
More information about the rules-dev
mailing list