On 16 June 2013 12:22, TommiT <tommitiss...@hotmail.com> wrote:

> On Sunday, 16 June 2013 at 00:19:37 UTC, Manu wrote:
>
>> Super awesome idea! How about coma separated expressions to perform
>> multiple asserts?
>>
>> int func(int i, int j) in(i<5, j<10)
>> {
>>   return i + j;
>> }
>>
>
> Do you mean ...to get more specific error messages than with in(i<5 &&
> j<10) ?
>

Error messages would be more useful, and it may be much easier for the
compiler/optimiser to use this information in the future as separated out
into distinct expressions.

Reply via email to