www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 17671] New: std.format example is not compiles

https://issues.dlang.org/show_bug.cgi?id=17671

          Issue ID: 17671
           Summary: std.format example is not compiles
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: critical
          Priority: P1
         Component: phobos
          Assignee: nobody puremagic.com
          Reporter: goldmax3000 gmail.com

The simple example (run on dlang site)

 writeln(format("%,d", 1000));

gives error:

std.format.FormatException /dlang/dmd/linux/bin64/../../src/phobos/std/format.d(1744):
integral

--
Jul 20