Comment # 9 on bug 178 from
(In reply to Ketmar Dark from comment #8)
> in your case, however, CTFE engine should abort before even trying to
> evaluate anything, as `void` is not a value suitable for array element. this
> check is easier, and it worth filling a bug in DMD bugzilla.

Yes, I agree. Evaluating the function is also redundant, as void is specified
to return 0.

If I had made it return an int, the case would be different.


You are receiving this mail because: