www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 10759] New: DMD crashes when using nested interfaces and inheritance from them.

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

           Summary: DMD crashes when using nested interfaces and
                    inheritance from them.
           Product: D
           Version: D2
          Platform: x86_64
        OS/Version: Windows
            Status: NEW
          Severity: critical
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: js.mdnq gmail.com


--- Comment #0 from js.mdnq gmail.com 2013-08-04 20:25:58 PDT ---
http://dpaste.dzfl.pl/

interface A : A.B
{
    interface B { }
}

This pattern is is short hand for

interface A { interface B { } }

interface AA : A.B { }

but crashes dmd 2.063 x32.

I would like to avoid having to write dummy interfaces just to use nested
interfaces that are inherited by their parent.

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


Kenji Hara <k.hara.pg gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE


--- Comment #1 from Kenji Hara <k.hara.pg gmail.com> 2013-08-05 01:39:06 PDT ---
*** This issue has been marked as a duplicate of issue 10616 ***

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