Summary: Errors in associative array example
           Product: D
           Version: 1.041
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: spec
          Severity: minor
          Priority: P3
         Component: Phobos

The associative array example given in the URL above fails to compile in D2,
because the expects an immutable file name, to fix change:
int main (char[][] args)
- to -
int main (string[] args)

Also, on line 60 has writef(... %8ld%8ld%8ld ... ), which are not valid
formatting strings. writef(... %8d%8d%8d ... ) fixes the issue, this applies to
D1 and D2.


Reply via email to