Thread overview
[Issue 5914] New: std.range.ElementType has duplicated unittest, ElementEncodingType is missing one
Apr 30, 2011
Andrej Mitrovic
May 24, 2011
Andrej Mitrovic
May 25, 2011
Andrej Mitrovic
April 30, 2011
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: nobody@puremagic.com
        ReportedBy: andrej.mitrovich@gmail.com


--- Comment #0 from Andrej Mitrovic <andrej.mitrovich@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: -------
May 24, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5914



--- Comment #1 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2011-05-24 11:18:05 PDT ---
Looks like this was fixed on github, but no mention by who. Oh well..

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 25, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5914


Andrej Mitrovic <andrej.mitrovich@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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