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



--- Comment #6 from Gor Gyolchanyan <[email protected]> 2011-07-28 07:10:37 PDT 
---
(In reply to comment #4)
> (In reply to comment #3)
> > No, it still doesn't work. I tried making a template and passing it a tuple 
> > of
> > mixed literals and local variable names and the same error occurred.
> 
> Please post a test case if you have one.

Can't reproduce that problem ATM, but another problem was discovered:

Hsec[] test(items...)()
{
    return Hsec(items);
}

unittest
{
    int i;
    float f;
    char c;

    foreach(z;  test!(5, i, 2.3f, f, 'a', c))
    {    
        writeln(z.type, " ", z.kind);
    }
}

this code causes DMD to crash.

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

Reply via email to