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

           Summary: std.bitmanip unit test has pointless/unused foreach
                    loop
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: trivial
          Priority: P2
         Component: Phobos
        AssignedTo: [email protected]
        ReportedBy: [email protected]


--- Comment #0 from Diggory <[email protected]> 2013-05-27 00:42:40 PDT ---
Extremely minor issue but w/e

std.bitmanip contains the code:

unittest {
    foreach(endianness; TypeTuple!(Endian.bigEndian, Endian.littleEndian))
    {
       ... // Unit test code
    }
}

But then makes no reference to "endianness" in the actual code. The loop should
either be removed or the code updated to test both endiannesses if that's
possible.

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

Reply via email to