www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 14581] New: Allow inheriting from nested classes outside of

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 puremagic.com
          Reporter: thecybershadow 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

--
May 13 2015