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

           Summary: std.range.ElementType has duplicated unittest,
                    ElementEncodingType is missing one
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nob...@puremagic.com
        ReportedBy: andrej.mitrov...@gmail.com


--- Comment #0 from Andrej Mitrovic <andrej.mitrov...@gmail.com> 2011-04-30 
14:06:27 PDT ---
v2.052, std.range:

The ElementType unittest at lines 626..637 is the same unittest as lines
654..665.
The latter one should be replaced with an ElementEncodingType unittest such as:

unittest
{
    string a = "foo";
    wstring b = "foo";
    dstring c = "foo";

    static assert(is(ElementEncodingType!(typeof(a)) : char));
    static assert(is(ElementEncodingType!(typeof(b)) : wchar));
    static assert(is(ElementEncodingType!(typeof(c)) : dchar));  
}

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

Reply via email to