I tried this code and... it won't produce any error. I still don't understand why. Could you please report the (odd) explaination?
--
Gilles
BCS Wrote:
> this is just odd
>
> void main()
> {
> bool a;
> a ? assert(a) : assert(!a);
> }
>
> http://www.digitalmars.com/d/expression.html
>
>