http://d.puremagic.com/issues/show_bug.cgi?id=7492

           Summary: [CTFE] Error at assign to immutable character array
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: verylonglogin....@gmail.com


--- Comment #0 from Denis <verylonglogin....@gmail.com> 2012-02-13 14:55:15 MSK 
---
---
auto f() { return new char[1];  }

immutable s = f(); // error, works with non-character arrays
---
Error: cannot implicitly convert expression ("\xff") of type char[] to
immutable(char[])

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to