Summary: std.format can't read into array of dchar
           Product: D
           Version: D2
          Platform: x86_64
        OS/Version: Linux
            Status: NEW
          Severity: regression
          Priority: P2
         Component: Phobos

--- Comment #0 from Jerry Quinn <> 2012-01-06 23:30:36 PST 
Compiling the following code gives:

import std.stdio;
void foo() {
  File f;
  dchar[1] dc;
  f.readf("%s", dc);

dmd -c junk2.d
/usr/include/d/dmd/phobos/std/format.d(439): Error: using * on an array is
deprecated; use *(_param_2).ptr instead

This worked in dmd 2.056.  My reading of the docs says it should work :-)

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to