-
Bug
-
Resolution: Done
-
Major
-
5.1.1.FINAL
-
None
A return value restriction containing a nested conditional expression referencing two previously bound variables is flagged as erroneous. (A similar, not nested, expression referencing the same variables, is compiled and executed correctly.)
The provided DRL is sufficient for producing the error:
ule Compilation error : [Rule name='check sum']
appl/domain/Rule_check_sum_0.java (9:417) : $a2 cannot be resolved