[Issue 2650] TypeInfo_Ak and similar do not inherit from TypeInfo_Array

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Feb 7 12:32:26 PST 2009


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





------- Comment #1 from dhasenan at gmail.com  2009-02-07 14:32 -------
Failing example:

void main ()
{
    auto s = "hello"d;
    auto sd = s[];
    if (cast(TypeInfo_Array)typeid(typeof(sd)) !is null)
    {
        assert (false, "not array");
    }
}


-- 



More information about the Digitalmars-d-bugs mailing list