[Issue 7628] New: Regression with std.string format and alias this

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Mar 2 06:05:50 PST 2012


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

           Summary: Regression with std.string format and alias this
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody at puremagic.com
        ReportedBy: admin at dav1d.de


--- Comment #0 from David <admin at dav1d.de> 2012-03-02 06:05:48 PST ---
This code runs on ideone: http://ideone.com/iSBBO 
But not here, 32 bit, Linux, dmd 2.058 with:


/usr/include/d/std/conv.d(101): Error: template
std.format.formatValue(Writer,T,Char) if (is(Unqual!(T) == bool))
formatValue(Writer,T,Char) if (is(Unqual!(T) == bool)) matches more than one
template declaration,
/usr/include/d/std/format.d(1342):formatValue(Writer,T,Char) if
(!isSomeString!(T) && isDynamicArray!(T)) and
/usr/include/d/std/format.d(1978):formatValue(Writer,T,Char) if
(!isSomeString!(T) && (is(T == struct) || is(T == union)))

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


More information about the Digitalmars-d-bugs mailing list