<br>2011/8/19 Raf <span dir="ltr">&lt;<a href="mailto:r.ventaglio@gmail.com">r.ventaglio@gmail.com</a>&gt;</span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
You must not add the parenthesis after <i>not.</i></blockquote><div><br>This is not correct. You may even <i>have </i>to use parentheses unless the negated condition is a conjunction or disjunction. The omission of the parentheses is tolerated when the argument is a single Pattern.<br>
-W<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><i><br></i></div><div>Try this:</div><div class="im"><div><br></div><div><font face="&#39;courier new&#39;, monospace">rule &quot;Flag missing Foos with values&quot;<br>


when<br>    not Foo(stringProp==&quot;blah&quot;, intProp==5)<br>then<br>   System.err.println(&quot;A proper foo does not exist&quot;);<br>end</font></div><div><br></div></div><div>Bye</div><div><i>Raf</i><br></div></blockquote>
</div>