www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 5914] New: std.range.ElementType has duplicated unittest, ElementEncodingType is missing one

reply d-bugmail puremagic.com writes:
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



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: -------
Apr 30 2011
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5914




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 24 2011
prev sibling parent d-bugmail puremagic.com writes:
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: -------
May 24 2011