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

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

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

    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:
------- You are receiving this mail because: -------

Reply via email to