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

           Summary: Shared values are unwritable
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: major
          Priority: P2
         Component: Phobos
        AssignedTo: nob...@puremagic.com
        ReportedBy: simen.kja...@gmail.com


--- Comment #0 from Simen Kjaeraas <simen.kja...@gmail.com> 2010-08-14 03:09:59 
PDT ---
shared int n;

void main( ) {
  writeln( n );
}

This program fails with:

E:\DMD\DMD2\windows\bin\..\..\src\phobos\std\format.d(306): Error: cannot
implic
itly convert expression (& arg) of type shared(int)* to const(void)*

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

Reply via email to