[Bug or feature] nested class inheritance

Bradley Smith digitalmars-com at baysmith.com
Mon Apr 16 12:09:31 PDT 2007


BCS wrote:
> David Ferenczi wrote:
>> BCS wrote:
>>
>>
>>> Reply to David,
>>>
>>> [...]
>>>
>>> A nested class can only be derived from by another class nested 
>>> inside the
>>> same class. As far as I am concerned, this is a design bug or 
>>> mis-feature.
>>> I to have wanted to do exactly what you were trying to do. I could be
>>> wrong but I can't see any reason that it should be hard to implement.
>>
>>
>> Should we file a bug, or is there one already? (I haven't found)
> 
> I don't think that there is a bug filed. If you want to, go ahead and 
> file one. I'd mark it as a feature request because I think that the 
> current behavior is "correct" according to the spec.

Where is the spec is this behavior mentioned?

Thanks,
   Bradley


More information about the Digitalmars-d-learn mailing list