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


--- Comment #0 from Richard Webb <webby 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: -------
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


--- Comment #1 from Richard Webb <webby beardmouse.org.uk> 2010-08-04 05:36:41
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