Nah, this was just to test the reported syntax problems with a variable number of arguments. <div><br></div><div>And the mvel was what caused the original problem, since variable arguments works fine with dialect Java. I put it in to assert another MVEL problem and forgot to take it out for you.<br>
<div><br class="Apple-interchange-newline">Sorry for not creating a more intelligent test case ;-)</div><div>-W</div><div><br></div><br><div class="gmail_quote">On 8 March 2012 15:30, Mario Fusco <span dir="ltr">&lt;<a href="mailto:mario.fusco@gmail.com">mario.fusco@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Wolfgang,<br><br>I think I have found a fix for the issue you reported. Anyway, it is not very clear to me what you originally wanted to achieve with this example since, by using my fix, the 2 rules cause an endless loop even if you used the no-loop flag because each one feeds the other. I think this is the correct behavior unless you don&#39;t annotate the MySet class with @PropertyReactive. Indeed I checked that making the class property specific allows you to avoid the infinite loop and the test terminates with the following 2 sets: <br>

<br>[z, y, x]<br>[two, one, three, four, z]<br><br>Please confirm that what I am reporting corresponds with your expectations.<br><br>I also noticed that, in the test you attached, you used the mvel dialect for the first rule and by doing that the drl compilation fails. At a first glance this is caused by a mvel bug, not supporting varargs in the constructor signature. I am going to give a look also to this problem.<span class="HOEnZb"><font color="#888888"><br>

<br>Mario<br><br><br>
</font></span><br>_______________________________________________<br>
rules-dev mailing list<br>
<a href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br>
<br></blockquote></div><br></div>