Comment #0 by matti.niemenmaa+dbugzilla — 2006-11-18T06:11:31Z
The spec states that "[t]he modulus operator only works with reals, it is illegal to use it with imaginary or complex operands." yet DMD accepts all of the following:
void main() {
creal c = 1 + 1i;
c %= 2;
ireal i = 3i % 2;
real r = 3 % 3i;
}