<div dir="ltr">What about the argument list only 3 characters earlier?<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 18 June 2013 15:16, Aleksandar Ruzicic <span dir="ltr"><<a href="mailto:aleksandar@ruzicic.info" target="_blank">aleksandar@ruzicic.info</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Sunday, 16 June 2013 at 00:19:37 UTC, Manu wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Super awesome idea! How about coma separated expressions to perform<br>
multiple asserts?<br>
<br>
int func(int i, int j) in(i<5, j<10)<br>
{<br>
  return i + j;<br>
}<br>
</blockquote>
<br></div>
I find use of comma inside of parentheses of a statement a bit unusual. Correct me if I'm wrong but I don't think there is a single statement in D that separates it's "parts" with a comma. It's always a semi-colon.<br>

<br>
So I think it should be:<br>
<br>
int func(int i, int j) in (i < 5; j < 10)<br>
{<br>
  return i + j;<br>
}<br>
<br>
<br>
But either comma or a semi-colon used as a separator, this is a really nice syntactic sugar!<br>
</blockquote></div><br></div>