[Issue 14581] New: Allow inheriting from nested classes outside of parent class

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed May 13 18:38:08 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=14581

          Issue ID: 14581
           Summary: Allow inheriting from nested classes outside of parent
                    class
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P4
         Component: DMD
          Assignee: nobody at puremagic.com
          Reporter: thecybershadow at gmail.com

// test.d //
class C
{
    class D
    {
    }
}

class E:C.D
{
}
///////////

test.d(8,1): Error: class test.E is nested within test, but super class D is
nested within C

--


More information about the Digitalmars-d-bugs mailing list