Bug ID: 240
           Summary: i++ not working correctly as arg to writeln
           Product: GDC
           Version: 5.x
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gdc

import std.stdio;
void main()
        int i = 0;
        writefln("result = %s,%s",i,i++);

result = 1,0

The expected result and that produced by the online compiler at is
result = 0,0.

You are receiving this mail because:
You are watching all bug changes.

Reply via email to