Bug 4519 – variable shadowing error from std.format

Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
Other
OS
Windows
Creation time
2010-07-27T04:51:00Z
Last change time
2010-08-04T05:36:41Z
Assigned to
nobody
Creator
webby

Comments

Comment #0 by webby — 2010-07-27T04:51:48Z
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.
Comment #1 by webby — 2010-08-04T05:36:41Z
This seems to be fixed now.