RE: "recursive" interface inheritance

Kevin,

> 
> The current editor draft of part 1 spec [1] reads like that extensions
can
> be layered, but it doesn't say anything about if an interface can
appear
> multiple times in the inheritance hierarchy, for example,  is it legal
for
> interface A to extend interface B and C, while B extends A,  C extends
B,
> and so on? For lack of good terms, I call it "recursive" inheritance.
> 

I think you're referring to "cyclic" graphs in an inheritance tree.
Actually, you don't need 3 interfaces to present the problem.

-> = extends

A->B->A (cyclic graph) not valid

.savas.

Received on Wednesday, 30 April 2003 18:45:34 UTC