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: [email protected]
          Reporter: [email protected]

// 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

--

Reply via email to