Summary: Missing line number for int %= complex
           Product: D
           Version: 1.042
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Keywords: diagnostic
          Severity: minor
          Priority: P2
         Component: DMD

void main(){
   int x;
   x %= 2+2i;
fog.d(3): Error: cannot perform modulo complex arithmetic
Error: long has no effect in expression (0)

I don't know where the 'long' comes from.
Both D1 and D2. This is one of the many op= bugs for erroneous complex
operations, along with issue #718 and issue #2839.


Reply via email to