www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 10887] New: Inheriting class template with subclass field crashes DMD

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10887

           Summary: Inheriting class template with subclass field crashes
                    DMD
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: luis luismarques.eu



---
The following pruned test case crashes DMD:

    class T() { }

    class A : T!(A.foo) { }

The original goal was something like this, which also crashes:

    class T(E) {}

    class A : T!(A.I)
    {
        interface I { }
    }

as opposed to the following, which works:

    class T(E) { }

    class A : T!(A) { }

or the following, which also works:

    class T(E) { }

    interface I { }

    class A : T!(I) { }

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Aug 24 2013
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10887


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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrej.mitrovich gmail.com



20:20:12 PDT ---
Appears to be fixed in git-head.

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