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

           Summary: variable shadowing error from std.format
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: regression
          Priority: P2
         Component: Phobos
        AssignedTo: nob...@puremagic.com
        ReportedBy: we...@beardmouse.org.uk


--- Comment #0 from Richard Webb <we...@beardmouse.org.uk> 2010-07-27 04:51:48 
PDT ---
When trying to compile some test code with the latest (svn) versions of dmd2
and phobos, i get the error:

..\src\phobos\std\format.d(1139): Error: shadowing declaration
std.format.formatValue!(LockingTextWriter,PolicyItemGroup[],immut
able(char)).formatValue.f is deprecated


where line 1139 is

         auto f = FormatSpec!Char(f.nested);

and one of the functions parameters is also called f.

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

Reply via email to