www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 4519] New: variable shadowing error from std.format

reply d-bugmail puremagic.com writes:
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: nobody puremagic.com
        ReportedBy: webby beardmouse.org.uk



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: -------
Jul 27 2010
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=4519


Richard Webb <webby beardmouse.org.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



PDT ---
This seems to be fixed now.

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