Summary: returning .idup of local static array doesn't work in
           Product: D
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from Lutger <> 2009-12-14 10:42:37 
PST ---
string foo()
����char[1] d;
����d[0] = 'd';
����return d.idup;

pragma(msg, foo()); // "Error: cannot evaluate foo() at compile time"

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

Reply via email to