[Issue 5185] Recursive template expansion error in class method

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Feb 15 14:45:47 PST 2013


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


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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrej.mitrovich at gmail.com
           Platform|x86                         |All
            Version|D1                          |D1 & D2
            Summary|unittest in template        |Recursive template
                   |classes: recursive template |expansion error in class
                   |expansion error             |method
         OS/Version|Windows                     |All


--- Comment #1 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-02-15 14:45:44 PST ---
Unrelated to unittests, and affects D2 too. Reduced:

class C(V)
{
    void f()
    {
        C!(C!(int)) c;  // NG
    }
}

void main()
{
    C!(C!(int)) c;  // ok
}

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


More information about the Digitalmars-d-bugs mailing list